diff options
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
| -rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index aa95ace930142..0e715b8814ffe 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -4839,7 +4839,7 @@ ScalarEvolution::createAddRecFromPHIWithCastsImpl(const SCEVUnknown *SymbolicPHI    // Construct the extended SCEV: (Ext ix (Trunc iy (Expr) to ix) to iy)    // for each of StartVal and Accum -  auto getExtendedExpr = [&](const SCEV *Expr,  +  auto getExtendedExpr = [&](const SCEV *Expr,                               bool CreateSignExtend) -> const SCEV * {      assert(isLoopInvariant(Expr, L) && "Expr is expected to be invariant");      const SCEV *TruncatedExpr = getTruncateExpr(Expr, TruncTy); @@ -4935,11 +4935,11 @@ ScalarEvolution::createAddRecFromPHIWithCasts(const SCEVUnknown *SymbolicPHI) {    return Rewrite;  } -// FIXME: This utility is currently required because the Rewriter currently  -// does not rewrite this expression:  -// {0, +, (sext ix (trunc iy to ix) to iy)}  +// FIXME: This utility is currently required because the Rewriter currently +// does not rewrite this expression: +// {0, +, (sext ix (trunc iy to ix) to iy)}  // into {0, +, %step}, -// even when the following Equal predicate exists:  +// even when the following Equal predicate exists:  // "%step == (sext ix (trunc iy to ix) to iy)".  bool PredicatedScalarEvolution::areAddRecsEqualWithPreds(      const SCEVAddRecExpr *AR1, const SCEVAddRecExpr *AR2) const {  | 
