================ @@ -448,7 +448,7 @@ void IRPromoter::ExtendSources() { if (isa<Argument>(V)) I->moveBefore(InsertPt); else - I->moveAfter(InsertPt); + I->moveAfter(&*InsertPt); ---------------- OCHyams wrote:
Same as earlier - is this a code-transition-state bug, or is there some reason we've got to use the `Instruction *` overload here? (this one matters more) https://github.com/llvm/llvm-project/pull/123583 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits