[llvm] [CGData] Global Merge Functions (PR #112671)
Kyungwoo Lee via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 07:12:49 PST 2024
kyulee-com 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 https://github.com/llvm/llvm-project/pull/116241 again?
https://github.com/llvm/llvm-project/pull/112671
More information about the llvm-commits
mailing list