[llvm] [VPlan] Implement interleaving as VPlan-to-VPlan transform. (PR #95842)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 09:05:05 PDT 2024


================
@@ -7392,6 +7392,8 @@ LoopVectorizationPlanner::executePlan(
       "expanded SCEVs to reuse can only be used during epilogue vectorization");
   (void)IsEpilogueVectorization;
 
+  VPlanTransforms::interleaveByUF(
+      BestVPlan, BestUF, OrigLoop->getHeader()->getModule()->getContext());
----------------
fhahn wrote:

Sounds good for a follow-up, this will help improve cost modeling once we completed the transition to the VPlan-based cost model.

Added TODO.

https://github.com/llvm/llvm-project/pull/95842


More information about the llvm-commits mailing list