[llvm] [DebugInfo][RemoveDIs] Have LICM insert at iterator positions (PR #73671)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 30 03:11:54 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);
----------------
OCHyams wrote:
Hopefully we can delete the Instruction-ptr variants one day...
https://github.com/llvm/llvm-project/pull/73671
More information about the llvm-commits
mailing list