[llvm] [DebugInfo][RemoveDIs] Have LICM insert at iterator positions (PR #73671)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 03:16:59 PST 2023


================
@@ -317,17 +317,25 @@ class StoreInst : public Instruction {
 public:
   StoreInst(Value *Val, Value *Ptr, Instruction *InsertBefore);
   StoreInst(Value *Val, Value *Ptr, BasicBlock *InsertAtEnd);
+  StoreInst(Value *Val, Value *Ptr, BasicBlock::iterator InsertBefore);
----------------
jmorse wrote:

I figure we'll do that after calling for testing; all the instr-insertion APIs need to become iterator ones for us to avoid regressions.

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


More information about the llvm-commits mailing list