[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:39 PDT 2024
================
@@ -160,6 +160,34 @@ void CallBrInstSetIndirectDest::dump() const {
}
#endif
+SetVolatile::SetVolatile(Instruction *I, bool WasBool, Tracker &Tracker)
+ : IRChangeBase(Tracker), Inst(I) {
----------------
vporpo wrote:
drop `, Inst(I)` we can use `I` directly from the constructor's arguments.
https://github.com/llvm/llvm-project/pull/101284
More information about the llvm-commits
mailing list