CMP and TST define CPSR, not use it.
authorDavid Goodwin <david_goodwin@apple.com>
Mon, 20 Jul 2009 22:13:31 +0000 (22:13 +0000)
committerDavid Goodwin <david_goodwin@apple.com>
Mon, 20 Jul 2009 22:13:31 +0000 (22:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76489 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb2.td

index 102d791403b0cca80e2e09581ba97eed1df9b46d..c31849419e03a9e7ea8aa98f517619a9d6fc530a 100644 (file)
@@ -351,7 +351,7 @@ multiclass T2I_sh_ir<string opc, PatFrag opnode> {
 /// T21_cmp_irs - Defines a set of (op r, {so_imm|r|so_reg}) cmp / test
 /// patterns. Similar to T2I_bin_irs except the instruction does not produce
 /// a explicit result, only implicitly set CPSR.
-let Uses = [CPSR] in {
+let Defs = [CPSR] in {
 multiclass T2I_cmp_is<string opc, PatFrag opnode> {
    // shifted imm
    def ri : T2I<(outs), (ins GPR:$lhs, t2_so_imm:$rhs),