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:
491a1b8
)
Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCr...
author
Chris Lattner
<sabre@nondot.org>
Thu, 17 Feb 2005 16:54:16 +0000
(16:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 17 Feb 2005 16:54:16 +0000
(16:54 +0000)
and PR515.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20224
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 2ea42f4c787678aedcdf563a15588ea9457f93d7..a47bf0d34855e13ac72f61b3f4c1d36adcf2f53b 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-224,7
+224,7
@@
static std::map<std::pair<SCEV*, const Type*>,
SCEVZeroExtendExpr*> SCEVZeroExtends;
SCEVZeroExtendExpr::SCEVZeroExtendExpr(const SCEVHandle &op, const Type *ty)
- : SCEV(scTruncate), Op(
O
p), Ty(ty) {
+ : SCEV(scTruncate), Op(
o
p), Ty(ty) {
assert(Op->getType()->isInteger() && Ty->isInteger() &&
Ty->isUnsigned() &&
"Cannot zero extend non-integer value!");