mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Oops, remove these too.
llvm-svn: 21272
This commit is contained in:
parent
8489ac991d
commit
759afe07d7
@ -943,10 +943,8 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
||||
case ISD::SHL:
|
||||
case ISD::SRL:
|
||||
case ISD::SRA:
|
||||
if (N2.getOpcode() == ISD::ZERO_EXTEND_INREG ||
|
||||
N2.getOpcode() == ISD::SIGN_EXTEND_INREG) {
|
||||
if (N2.getOpcode() == ISD::SIGN_EXTEND_INREG)
|
||||
return getNode(Opcode, VT, N1, N2.getOperand(0));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@ -1042,10 +1040,8 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
||||
case ISD::SRA_PARTS:
|
||||
case ISD::SRL_PARTS:
|
||||
case ISD::SHL_PARTS:
|
||||
if (N3.getOpcode() == ISD::ZERO_EXTEND_INREG ||
|
||||
N3.getOpcode() == ISD::SIGN_EXTEND_INREG) {
|
||||
if (N3.getOpcode() == ISD::SIGN_EXTEND_INREG)
|
||||
return getNode(Opcode, VT, N1, N2, N3.getOperand(0));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user