mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-06 17:24:34 +00:00
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user