aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-22 22:08:45 +0000
committerDan Gohman <gohman@apple.com>2009-06-22 22:08:45 +0000
commit62d9c78384ed9547e90b4208c9755e3834d47008 (patch)
tree5e0ae3ef8e4c9f6fd0004ba5c699347a7c9829de /lib/Analysis
parent74590a0a7f719a8374872bc555b03a9143f65443 (diff)
downloadexternal_llvm-62d9c78384ed9547e90b4208c9755e3834d47008.zip
external_llvm-62d9c78384ed9547e90b4208c9755e3834d47008.tar.gz
external_llvm-62d9c78384ed9547e90b4208c9755e3834d47008.tar.bz2
Fix a few minor issues that were exposed by the removal of SCEVHandle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/ScalarEvolutionExpander.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolutionExpander.cpp b/lib/Analysis/ScalarEvolutionExpander.cpp
index c7e296e..c5591d7 100644
--- a/lib/Analysis/ScalarEvolutionExpander.cpp
+++ b/lib/Analysis/ScalarEvolutionExpander.cpp
@@ -594,7 +594,7 @@ Value *SCEVExpander::visitAddRecExpr(const SCEVAddRecExpr *S) {
// Truncate the result down to the original type, if needed.
const SCEV* T = SE.getTruncateOrNoop(V, Ty);
- return expand(V);
+ return expand(T);
}
Value *SCEVExpander::visitTruncateExpr(const SCEVTruncateExpr *S) {