[llvm] [VPlan] Update final exit value via VPlan. (PR #112147)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 31 03:29:34 PST 2024
================
@@ -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());
----------------
ayalz wrote:
Is this related - presumably to avoid test changes, can it be committed independently?
https://github.com/llvm/llvm-project/pull/112147
More information about the llvm-commits
mailing list