[X86] Remove unnecessary check for null SDValue. NFC

This commit is contained in:
Craig Topper 2020-02-16 20:24:20 -08:00
parent 295bbea3ed
commit 464729cf7c
1 changed files with 0 additions and 3 deletions

View File

@ -22226,9 +22226,6 @@ SDValue X86TargetLowering::LowerSETCC(SDValue Op, SelectionDAG &DAG) const {
if (Op0.getSimpleValueType().isInteger()) {
SDValue X86CC;
SDValue EFLAGS = emitFlagsForSetcc(Op0, Op1, CC, dl, DAG, X86CC);
if (!EFLAGS)
return SDValue();
SDValue Res = DAG.getNode(X86ISD::SETCC, dl, MVT::i8, X86CC, EFLAGS);
return IsStrict ? DAG.getMergeValues({Res, Chain}, dl) : Res;
}