[llvm] [VPlan] Delay adding canonical IV increment and exit branches. (PR #82270)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 14:16:02 PDT 2024
================
@@ -8555,7 +8551,7 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
// When not folding the tail, we know that the induction increment will not
// overflow.
bool HasNUW = Style == TailFoldingStyle::None;
- addCanonicalIVRecipes(*Plan, Legal->getWidestInductionType(), HasNUW, DL);
+ addCanonicalIV(*Plan, Legal->getWidestInductionType(), HasNUW, DL);
----------------
fhahn wrote:
Cleaned up ,thanks!
https://github.com/llvm/llvm-project/pull/82270
More information about the llvm-commits
mailing list