From 345cdb647506c36caa5efa48143a3c2dd4f62c65 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 14 Dec 2010 23:42:48 +0000 Subject: [PATCH] Comments and cleaning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121809 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrThumb.td | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index 7dcb1d7ec3d..c085a4e0526 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -26,7 +26,6 @@ def imm_comp_XFORM : SDNodeXFormgetTargetConstant(~((uint32_t)N->getZExtValue()), MVT::i32); }]>; - /// imm0_7 predicate - True if the 32-bit immediate is in the range [0,7]. def imm0_7 : PatLeaf<(i32 imm), [{ return (uint32_t)N->getZExtValue() < 8; @@ -127,7 +126,6 @@ def t_addrmode_rrs1 : Operand, let MIOperandInfo = (ops tGPR:$base, tGPR:$offsreg); let ParserMatchClass = MemModeRegThumbAsmOperand; } - def t_addrmode_rrs2 : Operand, ComplexPattern { let EncoderMethod = "getThumbAddrModeRegRegOpValue"; @@ -618,12 +616,12 @@ multiclass thumb_ld_rr_ri_enc reg_opc, bits<4> imm_opc, AddrMode am, InstrItinClass itin_r, InstrItinClass itin_i, string asm, PatFrag opnode> { - def r : + def r : // reg/reg T1pILdStEncode; - def i : + def i : // reg/imm5 T1pILdStEncodeImm reg_opc, bits<4> imm_opc, AddrMode am, InstrItinClass itin_r, InstrItinClass itin_i, string asm, PatFrag opnode> { - def r : + def r : // reg/reg T1pILdStEncode; - def i : + def i : // reg/imm5 T1pILdStEncodeImm