[llvm-commits] [llvm] r76489 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
David Goodwin
david_goodwin at apple.com
Mon Jul 20 15:13:31 PDT 2009
Author: david_goodwin
Date: Mon Jul 20 17:13:31 2009
New Revision: 76489
URL: http://llvm.org/viewvc/llvm-project?rev=76489&view=rev
Log:
CMP and TST define CPSR, not use it.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=76489&r1=76488&r2=76489&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Mon Jul 20 17:13:31 2009
@@ -351,7 +351,7 @@
/// 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),
More information about the llvm-commits
mailing list