[llvm] r283056 - [SCEV] Remove commented out code; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 1 17:09:45 PDT 2016
Author: sanjoy
Date: Sat Oct 1 19:09:45 2016
New Revision: 283056
URL: http://llvm.org/viewvc/llvm-project?rev=283056&view=rev
Log:
[SCEV] Remove commented out code; NFC
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=283056&r1=283055&r2=283056&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Sat Oct 1 19:09:45 2016
@@ -8907,9 +8907,7 @@ const SCEV *SCEVAddRecExpr::getNumIterat
// Range.getUpper() is crossed.
SmallVector<const SCEV *, 4> NewOps(op_begin(), op_end());
NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper()));
- const SCEV *NewAddRec = SE.getAddRecExpr(NewOps, getLoop(),
- // getNoWrapFlags(FlagNW)
- FlagAnyWrap);
+ const SCEV *NewAddRec = SE.getAddRecExpr(NewOps, getLoop(), FlagAnyWrap);
// Next, solve the constructed addrec
if (auto Roots =
More information about the llvm-commits
mailing list