================
@@ -996,8 +1028,8 @@ void VPlanTransforms::optimize(VPlan &Plan, 
ScalarEvolution &SE) {
   removeRedundantCanonicalIVs(Plan);
   removeRedundantInductionCasts(Plan);
 
-  optimizeInductions(Plan, SE);
   simplifyRecipes(Plan, SE.getContext());
+  optimizeInductions(Plan, SE);
----------------
fhahn wrote:

Without the change, here's a function in 
`lvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll` where 
`optimizeInductions` won't simplify an induction, because there's a wide blend 
use left.

https://github.com/llvm/llvm-project/pull/76090
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to