[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 11:04:56 PDT 2024


================
@@ -804,14 +804,23 @@ class StoreInst final : public Instruction {
   }
 
 public:
+  /// Return true if this is a load from a volatile memory location.
+  bool isVolatile() const { return cast<llvm::LoadInst>(Val)->isVolatile(); }
----------------
medievalghoul wrote:

Yeah I see the issue, this didn't get committed properly. I fixed it. 

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


More information about the llvm-commits mailing list