diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-06-26 00:19:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-06-26 00:19:07 +0000 |
commit | 138f60ebbebc275e8bee2f5d916d9e6148c5bf4f (patch) | |
tree | 611e768ebe3b02d82524396c9efd09771eb79a4f | |
parent | c7da77e0a6d5818fa0e602512ac7bdb9cb3e994f (diff) | |
download | external_llvm-138f60ebbebc275e8bee2f5d916d9e6148c5bf4f.zip external_llvm-138f60ebbebc275e8bee2f5d916d9e6148c5bf4f.tar.gz external_llvm-138f60ebbebc275e8bee2f5d916d9e6148c5bf4f.tar.bz2 |
tst is also commutable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74236 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index a4cafef..4968b4a 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -548,7 +548,7 @@ def tSXTH : T1I<(outs tGPR:$dst), (ins tGPR:$src), Requires<[IsThumb, HasV6]>; // test -let Defs = [CPSR] in +let isCommutable = 1, Defs = [CPSR] in def tTST : T1I<(outs), (ins tGPR:$lhs, tGPR:$rhs), "tst $lhs, $rhs", [(ARMcmpNZ (and tGPR:$lhs, tGPR:$rhs), 0)]>; |