[llvm] [llvm] don't merge constants with COMDAT (PR #192477)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 10:15:32 PDT 2026


================
@@ -92,3 +92,22 @@ define void @test5(ptr %P1, ptr %P2) {
         store ptr @T5ua, ptr %P2
         ret void
 }
+
+$test6a = comdat any
----------------
MaskRay wrote:

Also add comment here. Not immediately obvious

https://github.com/llvm/llvm-project/pull/192477


More information about the llvm-commits mailing list