[llvm] [CGData] Global Merge Functions (PR #112671)
Mikael Holmén via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 15 00:04:49 PST 2024
mikaelholmen wrote:
> > Hi,
> > I've no idea if this is expected but I noticed that if I run `opt -passes=global-merge-func gmf.ll -o /dev/null` on gmf.ll being
> > ```
> > @0 = global { { ptr, i32, i32 } } { { ptr, i32, i32 } { ptr null, i32 19, i32 5 } }
> > @1 = global { { ptr, i32, i32 } } { { ptr, i32, i32 } { ptr null, i32 22, i32 5 } }
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > it crashes like
>
> Thank you for testing this! I can't reproduce the issue on my end, but I suspect it might be due to the module summary being run twice, even though it's optional. Could you please try out #116241 again?
Weird if you can't reproduce it. I did again at 878b03e0b9669. Asserts must be on.
Anyway I tried #116241 and with that it doesn't crash for me.
https://github.com/llvm/llvm-project/pull/112671
More information about the llvm-commits
mailing list