and selecting early prevents folding immediates into the cmpw* instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23188
91177308-0d34-0410-b5e6-
96231b3b80d8
bool Inv;
unsigned Idx = getCRIdxForSetCC(CC, Inv);
bool Inv;
unsigned Idx = getCRIdxForSetCC(CC, Inv);
- SDOperand CCReg =
- SelectCC(Select(N->getOperand(0)), Select(N->getOperand(1)), CC);
+ SDOperand CCReg = SelectCC(N->getOperand(0), N->getOperand(1), CC);
SDOperand IntCR;
// Force the ccreg into CR7.
SDOperand IntCR;
// Force the ccreg into CR7.
- SDOperand CCReg = SelectCC(Select(N->getOperand(0)),
- Select(N->getOperand(1)), CC);
+ SDOperand CCReg = SelectCC(N->getOperand(0), N->getOperand(1), CC);
unsigned BROpc = getBCCForSetCC(CC);
bool isFP = MVT::isFloatingPoint(N->getValueType(0));
unsigned BROpc = getBCCForSetCC(CC);
bool isFP = MVT::isFloatingPoint(N->getValueType(0));