mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-09 03:56:28 +00:00
Eliminate a redundant check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f35fd547ac
commit
661d9c35b0
@ -7581,8 +7581,7 @@ InstCombiner::CanEvaluateInDifferentType(Value *V, const IntegerType *Ty,
|
||||
return true;
|
||||
|
||||
// sext (zext ty1), ty2 -> zext ty2
|
||||
if (CastOpc == Instruction::SExt && Opc == Instruction::ZExt &&
|
||||
I->hasOneUse())
|
||||
if (CastOpc == Instruction::SExt && Opc == Instruction::ZExt)
|
||||
return true;
|
||||
break;
|
||||
case Instruction::Select: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user