[llvm] [VPlan] Introduce explicit ExtractFromEnd recipes for live-outs. (PR #100658)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 10 13:02:16 PDT 2024
================
@@ -8459,6 +8459,16 @@ static void addUsersInExitBlock(
if (!ExitBB || !ExitBB->getSinglePredecessor() || !ExitingBB)
return;
+ auto MiddleVPBB =
+ cast<VPBasicBlock>(Plan.getVectorLoopRegion()->getSingleSuccessor());
+ VPBuilder B(MiddleVPBB);
----------------
ayalz wrote:
```suggestion
VPBuilder B(MiddleVPBB);
// TODO: set B to MiddleVPBB->getFirstNonPhi(), taking care of affected tests.
```
https://github.com/llvm/llvm-project/pull/100658
More information about the llvm-commits
mailing list