[llvm] [VPlan] Add transformation to narrow interleave groups. (PR #106441)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 19 05:59:49 PDT 2024
================
@@ -7487,6 +7487,9 @@ LoopVectorizationPlanner::executePlan(
VPlanTransforms::optimizeForVFAndUF(BestVPlan, BestVF, BestUF, PSE);
+ if (VPlanTransforms::narrowInterleaveGroups(BestVPlan, BestVF)) {
+ LLVM_DEBUG(dbgs() << "Narrowed interleave\n");
+ }
----------------
ayalz wrote:
```suggestion
if (VPlanTransforms::narrowInterleaveGroups(BestVPlan, BestVF))
LLVM_DEBUG(dbgs() << "Narrowed interleave\n");
```
better if the transform itself dumps what it does, possibly along with each interleave narrowed?
https://github.com/llvm/llvm-project/pull/106441
More information about the llvm-commits
mailing list