summaryrefslogtreecommitdiffstats
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
commit469f3cdc13851914f3a766cbd8f701cf8431caca (patch)
tree5e0ae3ef8e4c9f6fd0004ba5c699347a7c9829de /lib/Analysis
parent1c76d0ee5cda2119c679bab49520dd9cd435ded5 (diff)
downloadexternal_llvm-469f3cdc13851914f3a766cbd8f701cf8431caca.zip
external_llvm-469f3cdc13851914f3a766cbd8f701cf8431caca.tar.gz
external_llvm-469f3cdc13851914f3a766cbd8f701cf8431caca.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) {