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:
7878f37
)
Corrects an old, old typo in a case that doesn't seem to be reached in practice.
author
Andrew Trick
<atrick@apple.com>
Wed, 27 Apr 2011 18:17:36 +0000
(18:17 +0000)
committer
Andrew Trick
<atrick@apple.com>
Wed, 27 Apr 2011 18:17:36 +0000
(18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130316
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 1bef857e70aa5fed6dffb6b5b725ff8c066e015e..bab4619894c76846c0adcb7f06a2623d10639cde 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-2015,7
+2015,7
@@
const SCEV *ScalarEvolution::getUDivExpr(const SCEV *LHS,
}
}
// (A+B)/C --> (A/C + B/C) if safe and A/C and B/C can be folded.
- if (const SCEVAdd
RecExpr *A = dyn_cast<SCEVAddRec
Expr>(LHS)) {
+ if (const SCEVAdd
Expr *A = dyn_cast<SCEVAdd
Expr>(LHS)) {
SmallVector<const SCEV *, 4> Operands;
for (unsigned i = 0, e = A->getNumOperands(); i != e; ++i)
Operands.push_back(getZeroExtendExpr(A->getOperand(i), ExtTy));