mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Remove ISD::SETCC match from combineX86ADD. It's done improperly and doesn't work.
llvm-svn: 304403
This commit is contained in:
parent
8de65f75cc
commit
009f4b40e8
@ -34486,8 +34486,7 @@ static SDValue combineX86ADD(SDNode *N, SelectionDAG &DAG,
|
||||
isOneConstant(Carry.getOperand(1))))
|
||||
Carry = Carry.getOperand(0);
|
||||
|
||||
if (Carry.getOpcode() == ISD::SETCC ||
|
||||
Carry.getOpcode() == X86ISD::SETCC ||
|
||||
if (Carry.getOpcode() == X86ISD::SETCC ||
|
||||
Carry.getOpcode() == X86ISD::SETCC_CARRY) {
|
||||
if (Carry.getConstantOperandVal(0) == X86::COND_B)
|
||||
return DCI.CombineTo(N, SDValue(N, 0), Carry.getOperand(1));
|
||||
|
Loading…
Reference in New Issue
Block a user