================ @@ -546,9 +575,10 @@ void VPlanTransforms::optimizeInductions(VPlan &Plan, ScalarEvolution &SE) { continue; const InductionDescriptor &ID = WideIV->getInductionDescriptor(); - VPValue *Steps = createScalarIVSteps(Plan, ID, SE, WideIV->getTruncInst(), - WideIV->getStartValue(), - WideIV->getStepValue(), InsertPt); + VPValue *Steps = createScalarIVSteps( + Plan, ID.getKind(), SE, WideIV->getTruncInst(), WideIV->getStartValue(), + WideIV->getStepValue(), ID.getInductionOpcode(), InsertPt, + dyn_cast_or_null<FPMathOperator>(ID.getInductionBinOp())); ---------------- fhahn wrote:
Adjusted, thanks! Can spli off moving induction opcode field separately. https://github.com/llvm/llvm-project/pull/80273 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits