[llvm-commits] [llvm] r74236 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
Evan Cheng
evan.cheng at apple.com
Thu Jun 25 17:19:07 PDT 2009
Author: evancheng
Date: Thu Jun 25 19:19:07 2009
New Revision: 74236
URL: http://llvm.org/viewvc/llvm-project?rev=74236&view=rev
Log:
tst is also commutable.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb.td?rev=74236&r1=74235&r2=74236&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb.td Thu Jun 25 19:19:07 2009
@@ -548,7 +548,7 @@
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)]>;
More information about the llvm-commits
mailing list