[llvm] [VPlan] Compute induction end values in VPlan. (PR #112145)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 14:04:47 PST 2024


================
@@ -9635,7 +9629,6 @@ void VPDerivedIVRecipe::execute(VPTransformState &State) {
       State.Builder, CanonicalIV, getStartValue()->getLiveInIRValue(), Step,
       Kind, cast_if_present<BinaryOperator>(FPBinOp));
   DerivedIV->setName(Name);
-  assert(DerivedIV != CanonicalIV && "IV didn't need transforming?");
----------------
fhahn wrote:

Cleaned up in the latest version, except for the case where the vector trip count is constant null, which will only be set in prepareToExecute.

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


More information about the llvm-commits mailing list