return getSetCC(VT, N2, N1, ISD::getSetCCSwappedOperands(Cond));
}
+ if (!CombinerEnabled) {
if (N1 == N2) {
// We can always fold X == Y for integer setcc's.
if (MVT::isInteger(N1.getValueType()))
N1 = getNode(ISD::ZERO_EXTEND, VT, N1);
return N1;
}
-
+ }
// Could not fold it.
return SDOperand();
}
if (N2 == N3) return N2; // select C, X, X -> X
+ if (!CombinerEnabled) {
if (VT == MVT::i1) { // Boolean SELECT
if (N2C) {
if (N2C->getValue()) // select C, 1, X -> C | X
N3, cast<CondCodeSDNode>(N1.getOperand(2))->get());
if (Simp.Val) return Simp;
}
+ }
break;
case ISD::BRCOND:
if (N2C)