[llvm] [LICM] Improve LICM when calls only change Inaccessible memory (PR #169379)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 06:49:57 PDT 2026


================
@@ -82,12 +82,13 @@ loop:
 define void @test4(i1 %cond, ptr %ptr) {
 ; CHECK-LABEL: @test4(
 ; CHECK-NEXT:  entry:
+; CHECK-NEXT:    store i32 0, ptr [[PTR:%.*]], align 4
----------------
CarolineConcatto wrote:

Thank you, I've changed the test to store %x now.

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


More information about the llvm-commits mailing list