Skip to content

Commit 6c8def5

Browse files
committed
!fixup address comments, thanks!
1 parent f3c6387 commit 6c8def5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2674,7 +2674,7 @@ void InnerLoopVectorizer::createInductionAdditionalBypassValues(
26742674
// Fast-math-flags propagate from the original induction instruction.
26752675
if (isa_and_nonnull<FPMathOperator>(BinOp))
26762676
BypassBuilder.setFastMathFlags(
2677-
II.getInductionBinOp()->getFastMathFlags());
2677+
BinOp->getFastMathFlags());
26782678

26792679
// Compute the end value for the additional bypass.
26802680
EndValueFromAdditionalBypass =
@@ -8855,9 +8855,9 @@ static void addCanonicalIVRecipes(VPlan &Plan, Type *IdxTy, bool HasNUW,
88558855
{CanonicalIVIncrement, &Plan.getVectorTripCount()}, DL);
88568856
}
88578857

8858-
/// Create and return a ResumePhi for \p PhiR, if it is wide induction recipe.
8859-
/// If the induction recipe is not canonical, creates a VPDerivedIVRecipe to
8860-
/// compute the end value of the induction.
8858+
/// Create and return a ResumePhi for \p WideIF, unless it is truncated. If the
8859+
/// induction recipe is not canonical, creates a VPDerivedIVRecipe to compute
8860+
/// the end value of the induction.
88618861
static VPValue *addResumePhiRecipeForInduction(VPWidenInductionRecipe *WideIV,
88628862
VPBuilder &VectorPHBuilder,
88638863
VPBuilder &ScalarPHBuilder,

0 commit comments

Comments
 (0)