[llvm] [SandboxIR] Adding isVolatile arg to existing LoadInst::create() functions (PR #100781)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 13:36:04 PDT 2024
================
@@ -743,6 +743,9 @@ class LoadInst final : public Instruction {
static LoadInst *create(Type *Ty, Value *Ptr, MaybeAlign Align,
Instruction *InsertBefore, Context &Ctx,
const Twine &Name = "");
+ static LoadInst *create(Type *Ty, Value *Ptr, MaybeAlign Align,
+ Instruction *InsertBefore, Context &Ctx,
+ const Twine &Name = "", bool isVolatile);
----------------
vporpo wrote:
Either way is fine with me.
https://github.com/llvm/llvm-project/pull/100781
More information about the llvm-commits
mailing list