aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-03-19 01:16:20 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-03-19 01:16:20 +0000
commit94dad03a9626511cf16edc90284e873b696c8db2 (patch)
treef794fef53e3d1df3b848f1df3236bd3657ebc2c0 /test/MC
parent1a06d5721acb9a2b69217fc8872ed5b14a482104 (diff)
downloadexternal_llvm-94dad03a9626511cf16edc90284e873b696c8db2.zip
external_llvm-94dad03a9626511cf16edc90284e873b696c8db2.tar.gz
external_llvm-94dad03a9626511cf16edc90284e873b696c8db2.tar.bz2
Fixed an assert by the ARM disassembler for LDRD_PRE/POST.
The relevant instruction table entries were changed sometime ago to no longer take <Rt2> as an operand. Modify ARMDisassemblerCore.cpp to accomodate the change and add a test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Disassembler/ARM/arm-tests.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/arm-tests.txt b/test/MC/Disassembler/ARM/arm-tests.txt
index 8b3b7c9..4f7dcff 100644
--- a/test/MC/Disassembler/ARM/arm-tests.txt
+++ b/test/MC/Disassembler/ARM/arm-tests.txt
@@ -160,3 +160,6 @@
# CHECK: strdeq r2, r3, [r0], -r8
0xf8 0x24 0x00 0x00
+
+# CHECK: ldrdeq r2, [r0], -r12
+0xdc 0x24 0x00 0x00