[llvm] [LoopVectorizer] Prune VFs based on plan register pressure (PR #132190)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 14 13:35:36 PDT 2025


================
@@ -4526,6 +4506,253 @@ static bool willGenerateVectors(VPlan &Plan, ElementCount VF,
   return false;
 }
 
+/// Get the VF scaling factor applied to the recipe's output, if the recipe has
----------------
fhahn wrote:

Yep, this reminded me me that I was planning to move the code to VPlanAnalysis.cpp after this patch lands: https://github.com/llvm/llvm-project/pull/135673

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


More information about the llvm-commits mailing list