| Issue |
53144
|
| Summary |
[opaque-pointer] Weird issue with identified structure types being duplicated
|
| Labels |
opaque-pointers
|
| Assignees |
|
| Reporter |
LebedevRI
|
Sadly, so far i have been unable to come up with a reproducer.
Basically, the problem involves the following-ish types:
```
%inner_ty = type { i16, i16, i32 }
%outer_ty = type { i32, %inner_ty, i32 }
```
There are no other references to these types, they do not show up in the plain IR dump.
After an not-yet-narrowed-down sequence of events,
that i believe include `.bc` deserialization in opaque-pointers mode
(while said .bc was *NOT* in opaque-pointers mode),
and IR linking of a few of such modules,
if you then query the `%outer_ty` struct type by name out of the final module,
you get `%outer_ty = type { i32, %inner_ty.2, i32 }` <- `%inner_ty` somehow duplicated.
Has anything like this been seen before?
I'm seeing this in halide, but as i have said i don't have a standalone minimal repro currently...
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs