diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-09-06 06:56:00 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-09-06 06:56:00 +0000 |
commit | 9115fba853ec3f89bf335b22ae51fbf18439e171 (patch) | |
tree | 85d2d822d39de3fbd3bd5d303c899f85d7692e9b /lib/Analysis/ScalarEvolution.cpp | |
parent | e6180992eb4730563a06c85545ca9cfbc033b7c9 (diff) |
Apparently we compile the code, not the comments. Thanks Eli!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 4bb69ddb27..e13f60554d 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -1998,8 +1998,7 @@ const SCEV *ScalarEvolution::getMulExpr(SmallVectorImpl<const SCEV *> &Ops, const SCEV *NewStart = getMulExpr(A, C); const SCEV *BD = getMulExpr(B, D); const SCEV *NewStep = getAddExpr(getMulExpr(A, D), - getMulExpr(B, C), - getNegativeSCEV(BD)); + getMulExpr(B, C), BD); const SCEV *NewSecondOrderStep = getMulExpr(BD, getConstant(BD->getType(), 2)); |