Different identified struct types may have the same name ("").
Previously, these were deduplicated based on their name, which caused
an assertion failure when nesting identified structs:
%0 = type { %1 } %1 = type { i8 } declare void @fn(%0)
Differential D156531
[mlir][LLVMIR] Fix identified structs with same name aengelke on Jul 28 2023, 6:17 AM. Authored by
Details Different identified struct types may have the same name (""). %0 = type { %1 } %1 = type { i8 } declare void @fn(%0)
Diff Detail
Event TimelineComment Actions Thanks for fixing this bug! LGTM and feel free to implement the file check nit comment if it works.
Comment Actions Thanks for the suggestion, I took it with a minor fix to work around greedy regex matching. |
nit: Would the above file check lines work as well? That way it seems a bit clearer the names have to be different.