[llvm] [SandboxIR] Added setVolatile member function to LoadInst and StoreInst (PR #101284)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 08:50:44 PDT 2024
================
@@ -213,6 +213,25 @@ class CallBrInstSetIndirectDest : public IRChangeBase {
#endif
};
+class SetVolatile : public IRChangeBase {
+ Instruction *Inst;
----------------
vporpo wrote:
I think we don't need an extra `Instruction *` variable. We already have the `InstUnion` to hold the Load or Store we are about to modify.
https://github.com/llvm/llvm-project/pull/101284
More information about the llvm-commits
mailing list