diff options
| author | David Goodwin <david_goodwin@apple.com> | 2009-06-26 20:45:56 +0000 |
|---|---|---|
| committer | David Goodwin <david_goodwin@apple.com> | 2009-06-26 20:45:56 +0000 |
| commit | 35ee722d4243ae595303c83c45f7292e7759aafa (patch) | |
| tree | e66113eb1fe599b095a99f1a6d04d1e4c14503d4 /llvm/lib | |
| parent | a363fffe27ff86243f47f64a80fe1e928720ca94 (diff) | |
| download | bcm5719-llvm-35ee722d4243ae595303c83c45f7292e7759aafa.tar.gz bcm5719-llvm-35ee722d4243ae595303c83c45f7292e7759aafa.zip | |
Use "adcs/sbcs" only when the carry-out is live, otherwise use "adc/sbc".
llvm-svn: 74321
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrThumb2.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td index 6151adf163d..c965d1d0931 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb2.td +++ b/llvm/lib/Target/ARM/ARMInstrThumb2.td @@ -236,19 +236,19 @@ let Uses = [CPSR] in { multiclass T2I_adde_sube_irs<string opc, PatFrag opnode, bit Commutable = 0> { // shifted imm def ri : T2sI<(outs GPR:$dst), (ins GPR:$lhs, t2_so_imm:$rhs), - opc, "s $dst, $lhs, $rhs", + opc, " $dst, $lhs, $rhs", [(set GPR:$dst, (opnode GPR:$lhs, t2_so_imm:$rhs))]>, Requires<[IsThumb, HasThumb2, CarryDefIsUnused]>; // register def rr : T2sI<(outs GPR:$dst), (ins GPR:$lhs, GPR:$rhs), - opc, "s $dst, $lhs, $rhs", + opc, " $dst, $lhs, $rhs", [(set GPR:$dst, (opnode GPR:$lhs, GPR:$rhs))]>, Requires<[IsThumb, HasThumb2, CarryDefIsUnused]> { let isCommutable = Commutable; } // shifted register def rs : T2sI<(outs GPR:$dst), (ins GPR:$lhs, t2_so_reg:$rhs), - opc, "s $dst, $lhs, $rhs", + opc, " $dst, $lhs, $rhs", [(set GPR:$dst, (opnode GPR:$lhs, t2_so_reg:$rhs))]>, Requires<[IsThumb, HasThumb2, CarryDefIsUnused]>; // Carry setting variants |

