[llvm] [SandboxIR] Added new StoreInst::create() functions with isVolatile arg (PR #100961)

Julius Alexandre via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 12:36:00 PDT 2024


================
@@ -810,10 +815,45 @@ define void @foo(i8 %val, ptr %ptr) {
   sandboxir::StoreInst *NewSt =
       sandboxir::StoreInst::create(Val, Ptr, Align(8),
                                    /*InsertBefore=*/Ret, Ctx);
+  // Check if create was volatile
----------------
medievalghoul wrote:

I'll remove all instance of it.

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


More information about the llvm-commits mailing list