commit | 62d9c78384ed9547e90b4208c9755e3834d47008 | [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 | 74590a0a7f719a8374872bc555b03a9143f65443 [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) {