forked from OSchip/llvm-project
[X86] Remove some code that was only needed when i1 was a legal type. NFC
llvm-svn: 329146
This commit is contained in:
parent
b5d2937d5f
commit
3064c15dc3
|
@ -23749,9 +23749,6 @@ static SDValue LowerXALUO(SDValue Op, SelectionDAG &DAG) {
|
|||
|
||||
SDValue SetCC = getSETCC(X86::COND_O, SDValue(Sum.getNode(), 2), DL, DAG);
|
||||
|
||||
if (N->getValueType(1) == MVT::i1)
|
||||
SetCC = DAG.getNode(ISD::TRUNCATE, DL, MVT::i1, SetCC);
|
||||
|
||||
return DAG.getNode(ISD::MERGE_VALUES, DL, N->getVTList(), Sum, SetCC);
|
||||
}
|
||||
}
|
||||
|
@ -23762,9 +23759,6 @@ static SDValue LowerXALUO(SDValue Op, SelectionDAG &DAG) {
|
|||
|
||||
SDValue SetCC = getSETCC(Cond, SDValue(Sum.getNode(), 1), DL, DAG);
|
||||
|
||||
if (N->getValueType(1) == MVT::i1)
|
||||
SetCC = DAG.getNode(ISD::TRUNCATE, DL, MVT::i1, SetCC);
|
||||
|
||||
return DAG.getNode(ISD::MERGE_VALUES, DL, N->getVTList(), Sum, SetCC);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue