[llvm] [LV, VP]VP intrinsics support for the Loop Vectorizer + adding new tail-folding mode using EVL. (PR #76172)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 18 13:27:56 PDT 2024
    
    
  
================
@@ -8599,6 +8655,8 @@ void LoopVectorizationPlanner::buildVPlansWithVPRecipes(ElementCount MinVF,
         VPlanTransforms::truncateToMinimalBitwidths(
             *Plan, CM.getMinimalBitwidths(), PSE.getSE()->getContext());
       VPlanTransforms::optimize(*Plan, *PSE.getSE());
+      if (CM.useVPIWithVPEVLVectorization())
+        VPlanTransforms::addExplicitVectorLength(*Plan);
----------------
fhahn wrote:
still open to add TODO?
https://github.com/llvm/llvm-project/pull/76172
    
    
More information about the llvm-commits
mailing list