[X86] Remove an unneeded ZERO_EXTEND creation from LowerINTRINSIC_W_CHAIN. NFC
We were trying to ZERO_EXTEND from an i8 X86ISD::SETCC to i8 again. llvm-svn: 361288
This commit is contained in:
parent
10f6b39899
commit
ed6df47bae
|
|
@ -23230,8 +23230,7 @@ static SDValue LowerINTRINSIC_W_CHAIN(SDValue Op, const X86Subtarget &Subtarget,
|
||||||
DAG.getNode(Opcode, dl, VTs, Chain, Op->getOperand(2),
|
DAG.getNode(Opcode, dl, VTs, Chain, Op->getOperand(2),
|
||||||
Op->getOperand(3), Op->getOperand(4));
|
Op->getOperand(3), Op->getOperand(4));
|
||||||
SDValue SetCC = getSETCC(X86::COND_B, Operation.getValue(0), dl, DAG);
|
SDValue SetCC = getSETCC(X86::COND_B, Operation.getValue(0), dl, DAG);
|
||||||
SDValue Result = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i8, SetCC);
|
return DAG.getNode(ISD::MERGE_VALUES, dl, Op->getVTList(), SetCC,
|
||||||
return DAG.getNode(ISD::MERGE_VALUES, dl, Op->getVTList(), Result,
|
|
||||||
Operation.getValue(1));
|
Operation.getValue(1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue