[llvm] [VPlan] Update final exit value via VPlan. (PR #112147)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 5 03:53:18 PST 2025
================
@@ -843,7 +843,7 @@ void VPIRInstruction::execute(VPTransformState &State) {
BasicBlock *PredBB = State.CFG.VPBB2IRBB[PredVPBB];
// Set insertion point in PredBB in case an extract needs to be generated.
// TODO: Model extracts explicitly.
- State.Builder.SetInsertPoint(PredBB, PredBB->getFirstNonPHIIt());
+ State.Builder.SetInsertPoint(&*PredBB->getTerminator());
----------------
fhahn wrote:
Not needed in the latest version, removed, thanks
https://github.com/llvm/llvm-project/pull/112147
More information about the llvm-commits
mailing list