summaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMInstrThumb2.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-05 22:51:11 +0000
committerChris Lattner <sabre@nondot.org>2010-09-05 22:51:11 +0000
commit979b0618192cd99058a7a21c04341c47801dd688 (patch)
tree869656260e5f1bc78c444dc3d787c759a9963f72 /lib/Target/ARM/ARMInstrThumb2.td
parent223c92c9cddf9034ddf5cf540fb2de4d14026632 (diff)
downloadexternal_llvm-979b0618192cd99058a7a21c04341c47801dd688.zip
external_llvm-979b0618192cd99058a7a21c04341c47801dd688.tar.gz
external_llvm-979b0618192cd99058a7a21c04341c47801dd688.tar.bz2
remove some dead code. t2addrmode_imm8s4 is never used in a
pattern, so there is no need to define a matching function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrThumb2.td')
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td
index 6ba0a44..096a8c7 100644
--- a/lib/Target/ARM/ARMInstrThumb2.td
+++ b/lib/Target/ARM/ARMInstrThumb2.td
@@ -145,8 +145,7 @@ def t2am_imm8_offset : Operand<i32>,
}
// t2addrmode_imm8s4 := reg +/- (imm8 << 2)
-def t2addrmode_imm8s4 : Operand<i32>,
- ComplexPattern<i32, 2, "SelectT2AddrModeImm8s4", []> {
+def t2addrmode_imm8s4 : Operand<i32> {
let PrintMethod = "printT2AddrModeImm8s4Operand";
let MIOperandInfo = (ops GPR:$base, i32imm:$offsimm);
}