Fix typo in comment.

llvm-svn: 172460
This commit is contained in:
Nick Lewycky 2013-01-14 20:56:10 +00:00
parent bc25ff4661
commit 80ea003c6c
1 changed files with 1 additions and 1 deletions

View File

@ -739,7 +739,7 @@ static bool CanEvaluateZExtd(Value *V, Type *Ty, unsigned &BitsToClear) {
} }
Instruction *InstCombiner::visitZExt(ZExtInst &CI) { Instruction *InstCombiner::visitZExt(ZExtInst &CI) {
// If this zero extend is only used by a truncate, let the truncate by // If this zero extend is only used by a truncate, let the truncate be
// eliminated before we try to optimize this zext. // eliminated before we try to optimize this zext.
if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) if (CI.hasOneUse() && isa<TruncInst>(CI.use_back()))
return 0; return 0;