[llvm] [SandboxIR] Added new StoreInst::create() functions with isVolatile arg (PR #100961)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 12:47:57 PDT 2024
================
@@ -804,14 +804,23 @@ class StoreInst final : public Instruction {
}
public:
+ /// Return true if this is a store from a volatile memory location.
+ bool isVolatile() const { return cast<llvm::StoreInst>(Val)->isVolatile(); }
+
----------------
vporpo wrote:
Remove new line.
https://github.com/llvm/llvm-project/pull/100961
More information about the llvm-commits
mailing list