[llvm] [SandboxIR] Added isVolatile args to existing LoadInst::create function (PR #100850)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 27 16:52:59 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 = "");
----------------
vporpo wrote:
Ah you need to capitalize `isVolatile` to `IsVolatile` to comply with LLVM's coding style.
https://github.com/llvm/llvm-project/pull/100850
More information about the llvm-commits
mailing list