[llvm] [SandboxIR] Added setVolatile function to LoadInst and StoreInst (PR #101759)

Julius Alexandre via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 16:43:04 PDT 2024


================
@@ -870,6 +906,11 @@ define void @foo(i8 %val, ptr %ptr) {
                                    /*InsertAtEnd=*/BB,
                                    /*IsVolatile=*/true, Ctx);
   EXPECT_TRUE(NewVStEnd->isVolatile());
+  OrigVolatileValue = NewVStEnd->isVolatile();
----------------
medievalghoul wrote:

done

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


More information about the llvm-commits mailing list