aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-04-16 19:57:21 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-04-16 19:57:21 +0000
commit05af8f4b58d7f69cbbca8334ce41ced530dbe79b (patch)
tree6c62e879d64937f7dbf58105cdb8c371af322911 /test
parent474a650ae28c174faaafbbd3cf73c0a152dacf09 (diff)
downloadexternal_llvm-05af8f4b58d7f69cbbca8334ce41ced530dbe79b.zip
external_llvm-05af8f4b58d7f69cbbca8334ce41ced530dbe79b.tar.gz
external_llvm-05af8f4b58d7f69cbbca8334ce41ced530dbe79b.tar.bz2
In the same spirit of r101524, which removed the assert() from printAddrMode2OffsetOperand(),
this patch removes the assert() from printAddrMode3OffsetOperand() and adds a test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/arm-tests.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Disassembler/arm-tests.txt b/test/MC/Disassembler/arm-tests.txt
index b3417e5..a1e229c 100644
--- a/test/MC/Disassembler/arm-tests.txt
+++ b/test/MC/Disassembler/arm-tests.txt
@@ -21,6 +21,9 @@
# CHECK: ldr r0, [r2], #15
0x0f 0x00 0x92 0xe4
+# CHECK: ldrh r0, [r2], #0
+0xb0 0x00 0xd2 0xe0
+
# CHECK: ldrht r0, [r2], #15
0xbf 0x00 0xf2 0xe0