[llvm-commits] [llvm] r135785 - /llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
Owen Anderson
resistor at mac.com
Fri Jul 22 11:30:30 PDT 2011
Author: resistor
Date: Fri Jul 22 13:30:30 2011
New Revision: 135785
URL: http://llvm.org/viewvc/llvm-project?rev=135785&view=rev
Log:
Fix test failures caused by my so_reg refactoring.
Modified:
llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp?rev=135785&r1=135784&r2=135785&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp Fri Jul 22 13:30:30 2011
@@ -2067,8 +2067,8 @@
SDValue CPTmp2;
if (SelectImmShifterOperand(TrueVal, CPTmp0, CPTmp2)) {
SDValue CC = CurDAG->getTargetConstant(CCVal, MVT::i32);
- SDValue Ops[] = { FalseVal, CPTmp0, CPTmp1, CPTmp2, CC, CCR, InFlag };
- return CurDAG->SelectNodeTo(N, ARM::MOVCCsi, MVT::i32, Ops, 7);
+ SDValue Ops[] = { FalseVal, CPTmp0, CPTmp2, CC, CCR, InFlag };
+ return CurDAG->SelectNodeTo(N, ARM::MOVCCsi, MVT::i32, Ops, 6);
}
if (SelectRegShifterOperand(TrueVal, CPTmp0, CPTmp1, CPTmp2)) {
More information about the llvm-commits
mailing list