[llvm] [VPlan] Model middle block via VPIRBasicBlock. (PR #95816)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 13:17:35 PDT 2024
================
@@ -851,6 +863,9 @@ void VPlan::execute(VPTransformState *State) {
State->CFG.ExitBB = State->CFG.PrevBB->getSingleSuccessor();
BasicBlock *VectorPreHeader = State->CFG.PrevBB;
State->Builder.SetInsertPoint(VectorPreHeader->getTerminator());
+ replaceVPBBWithIRVPBB(
----------------
ayalz wrote:
Another option may be to place this in prepareToExecute(), as its finalizing VPlan before actually generating code.
https://github.com/llvm/llvm-project/pull/95816
More information about the llvm-commits
mailing list