[llvm] [SandboxIR] Implement FenceInst (PR #105920)
Sriraman Tallam via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 11:31:30 PDT 2024
================
@@ -575,6 +575,33 @@ void Instruction::dumpOS(raw_ostream &OS) const {
}
#endif // NDEBUG
+FenceInst *FenceInst::create(AtomicOrdering Ordering, BBIterator WhereIt,
+ BasicBlock *WhereBB, Context &Ctx,
----------------
tmsri wrote:
Why not use llvm::InsertPosition to define where to insert?
https://github.com/llvm/llvm-project/pull/105920
More information about the llvm-commits
mailing list