From 920f74aaabe89d70a18e3daabc58117e501197ac Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 11 Aug 2010 00:22:27 +0000 Subject: [PATCH] Mark ARM compare instructions as isCompare. llvm-svn: 110761 --- llvm/lib/Target/ARM/ARMInstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index d7860dd24ae3..fa8bcb9db95f 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -496,7 +496,7 @@ multiclass AI1_bin_s_irs opcod, string opc, PatFrag opnode, /// AI1_cmp_irs - Defines a set of (op r, {so_imm|r|so_reg}) cmp / test /// patterns. Similar to AsI1_bin_irs except the instruction does not produce /// a explicit result, only implicitly set CPSR. -let Defs = [CPSR] in { +let isCompare = 1, Defs = [CPSR] in { multiclass AI1_cmp_irs opcod, string opc, PatFrag opnode, bit Commutable = 0> { def ri : AI1