[clang] [llvm] [mlir] [polly] [IR][NFC] Update IRBuilder to use InsertPosition (PR #96497)

Stephen Tozer via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 09:01:08 PDT 2024


================
@@ -44,15 +44,19 @@ template <> struct ilist_alloc_traits<Instruction> {
 iterator_range<simple_ilist<DbgRecord>::iterator>
 getDbgRecordRange(DbgMarker *);
 
+/// Class used to generate an insert position (ultimately always a
+/// BasicBlock::iterator, which it will implicitly convert to) from either:
+/// - An Instruction, inserting immediately prior.
----------------
SLTozer wrote:

It isn't deprecated yet, but I can put a comment indicating the future intent.

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


More information about the cfe-commits mailing list