[llvm] [DebugInfo][RemoveDIs] Emulate inserting insts in dbg.value sequences (PR #73350)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 08:14:05 PST 2023


================
@@ -267,6 +267,19 @@ void DPMarker::dropOneDPValue(DPValue *DPV) {
   DPV->deleteInstr();
 }
 
+std::optional<DPValue::self_iterator> DPMarker::getReinsertionPosition() {
----------------
jmorse wrote:

Uuuuhhhh. Yeah, I think it does.

It's really not clear where this method should be placed -- I think it was in originally in BasicBlock, then I moved it here.... how would you feel about it being back in BasicBlock?

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


More information about the llvm-commits mailing list