Fix a few minor issues that were exposed by the removal of SCEVHandle.

llvm-svn: 73910
This commit is contained in:
Dan Gohman
2009-06-22 22:08:45 +00:00
parent e67b77028e
commit fd76113e28
2 changed files with 1 additions and 2 deletions

View File

@@ -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) {