[llvm] [SandboxIR] Added isVolatile args to existing LoadInst::create function (PR #100850)

Julius Alexandre via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 19:01:01 PDT 2024


================
@@ -769,10 +769,10 @@ class LoadInst final : public Instruction {
   unsigned getNumOfIRInstrs() const final { return 1u; }
   static LoadInst *create(Type *Ty, Value *Ptr, MaybeAlign Align,
                           Instruction *InsertBefore, Context &Ctx,
-                          const Twine &Name = "");
+                          bool isVolatile = false, const Twine &Name = "");
----------------
medievalghoul wrote:

@vporpo I got it work, I was having signature issues with the compiler when trying to do 4 functions.

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


More information about the llvm-commits mailing list