[llvm] [SandboxIR] Added setVolatile member function to LoadInst and StoreInst (PR #101284)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 13:46:30 PDT 2024


================
@@ -214,13 +214,14 @@ class CallBrInstSetIndirectDest : public IRChangeBase {
 };
 
 class SetVolatile : public IRChangeBase {
-  Instruction *Inst;
+  /// This holds the properties of whether
+  /// LoadInst or StoreInst was volatile
----------------
vporpo wrote:

This looks like it fits in a single 80-column line.

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


More information about the llvm-commits mailing list