commit | 469f3cdc13851914f3a766cbd8f701cf8431caca | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Jun 22 22:08:45 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Jun 22 22:08:45 2009 +0000 |
tree | 5e0ae3ef8e4c9f6fd0004ba5c699347a7c9829de | |
parent | 1c76d0ee5cda2119c679bab49520dd9cd435ded5 [diff] [blame] |
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
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 @@ // 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) {