forked from OSchip/llvm-project
Add the cc_out operand for t2RSBrs instructions. I missed this when I changed
the instruction class for t2RSB to add that operand in svn r104582. Radar 8033757. llvm-svn: 104907
This commit is contained in:
parent
04f8720118
commit
b6112e8706
|
@ -1954,8 +1954,8 @@ SDNode *ARMDAGToDAGISel::Select(SDNode *N) {
|
|||
SDValue ShImmOp = CurDAG->getTargetConstant(ShImm, MVT::i32);
|
||||
SDValue Reg0 = CurDAG->getRegister(0, MVT::i32);
|
||||
if (Subtarget->isThumb()) {
|
||||
SDValue Ops[] = { V, V, ShImmOp, getAL(CurDAG), Reg0 };
|
||||
return CurDAG->SelectNodeTo(N, ARM::t2RSBrs, MVT::i32, Ops, 5);
|
||||
SDValue Ops[] = { V, V, ShImmOp, getAL(CurDAG), Reg0, Reg0 };
|
||||
return CurDAG->SelectNodeTo(N, ARM::t2RSBrs, MVT::i32, Ops, 6);
|
||||
} else {
|
||||
SDValue Ops[] = { V, V, Reg0, ShImmOp, getAL(CurDAG), Reg0, Reg0 };
|
||||
return CurDAG->SelectNodeTo(N, ARM::RSBrs, MVT::i32, Ops, 7);
|
||||
|
|
Loading…
Reference in New Issue