projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c3843
)
tst is also commutable.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 26 Jun 2009 00:19:07 +0000
(
00:19
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 26 Jun 2009 00:19:07 +0000
(
00:19
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74236
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrThumb.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrThumb.td
b/lib/Target/ARM/ARMInstrThumb.td
index a4cafef0215c7b63953e2425385e3b5f05bb9953..4968b4a097903b9c7f436ad870fe5d54a615629b 100644
(file)
--- 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)]>;