summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-17 16:54:16 +0000
committerChris Lattner <sabre@nondot.org>2005-02-17 16:54:16 +0000
commit47555decfb1cc93979f6ebeeac55dcc62d48a5f1 (patch)
tree7091d0d0437c9f8d3c77810d54c36490afc9ec23
parent02fd7d1d565b5bbb21f426fcc9d839cfcd09186f (diff)
downloadbcm5719-llvm-47555decfb1cc93979f6ebeeac55dcc62d48a5f1.tar.gz
bcm5719-llvm-47555decfb1cc93979f6ebeeac55dcc62d48a5f1.zip
Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCrash.ll
and PR515. llvm-svn: 20224
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 2ea42f4c787..a47bf0d3485 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/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(Op), Ty(ty) {
+ : SCEV(scTruncate), Op(op), Ty(ty) {
assert(Op->getType()->isInteger() && Ty->isInteger() &&
Ty->isUnsigned() &&
"Cannot zero extend non-integer value!");
OpenPOWER on IntegriCloud