mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 12:36:30 +00:00
Eliminate a redundant check.
llvm-svn: 62264
This commit is contained in:
parent
d504f9fe27
commit
340e5fe0a6
@ -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…
Reference in New Issue
Block a user