projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e618099
)
Apparently we compile the code, not the comments. Thanks Eli!
author
Nick Lewycky
<nicholas@mxc.ca>
Tue, 6 Sep 2011 06:56:00 +0000
(06:56 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Tue, 6 Sep 2011 06:56:00 +0000
(06:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139138
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index 4bb69ddb276a17f95c1400d7d832ebdf6472a9ff..e13f60554d35afbe5065e168098eab8b545e0642 100644
(file)
--- 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));