[llvm] [SandboxIR] Implement FenceInst (PR #105920)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 11:33:32 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,
----------------
vporpo wrote:

We don't have an InsertPosition class yet. We will refactor all create() functions at some point to use that once it's available.

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


More information about the llvm-commits mailing list