[llvm] [LV] Optimize VPWidenIntOrFpInductionRecipe for known TC (PR #118828)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 06:52:27 PST 2024
================
@@ -59,8 +59,9 @@ struct VPlanTransforms {
unsigned BestUF,
PredicatedScalarEvolution &PSE);
- /// Optimize \p Plan based on \p TC and \p BestVF.
- static void optimizeForTCAndVF(VPlan &Plan, unsigned TC, ElementCount BestVF);
+ /// Optimize \p Plan based on \p TC, \p BestVF and \p BestUF.
+ static void optimizeForTCAndVFAndUF(VPlan &Plan, unsigned TC,
----------------
david-arm wrote:
nit: Perhaps just call it `optimizeForTCAndVFUF`
https://github.com/llvm/llvm-project/pull/118828
More information about the llvm-commits
mailing list