Fix test failures caused by my so_reg refactoring.

llvm-svn: 135785
This commit is contained in:
Owen Anderson 2011-07-22 18:30:30 +00:00
parent d1f8bde10f
commit 3fa7ca84d9
1 changed files with 2 additions and 2 deletions

View File

@ -2067,8 +2067,8 @@ SelectARMCMOVShiftOp(SDNode *N, SDValue FalseVal, SDValue TrueVal,
SDValue CPTmp2; SDValue CPTmp2;
if (SelectImmShifterOperand(TrueVal, CPTmp0, CPTmp2)) { if (SelectImmShifterOperand(TrueVal, CPTmp0, CPTmp2)) {
SDValue CC = CurDAG->getTargetConstant(CCVal, MVT::i32); SDValue CC = CurDAG->getTargetConstant(CCVal, MVT::i32);
SDValue Ops[] = { FalseVal, CPTmp0, CPTmp1, CPTmp2, CC, CCR, InFlag }; SDValue Ops[] = { FalseVal, CPTmp0, CPTmp2, CC, CCR, InFlag };
return CurDAG->SelectNodeTo(N, ARM::MOVCCsi, MVT::i32, Ops, 7); return CurDAG->SelectNodeTo(N, ARM::MOVCCsi, MVT::i32, Ops, 6);
} }
if (SelectRegShifterOperand(TrueVal, CPTmp0, CPTmp1, CPTmp2)) { if (SelectRegShifterOperand(TrueVal, CPTmp0, CPTmp1, CPTmp2)) {