diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-03-15 01:13:17 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-03-15 01:13:17 +0000 |
commit | 085ea1b6337ff524edcff3368ee15b5acf9f5e53 (patch) | |
tree | f4f72d23e1228cdc02578ee4ff6c4978a307918e /test | |
parent | 28cc1aa3a748068b6490a19fc4af2443bc7f3dbd (diff) | |
download | llvm-085ea1b6337ff524edcff3368ee15b5acf9f5e53.tar.gz llvm-085ea1b6337ff524edcff3368ee15b5acf9f5e53.tar.bz2 llvm-085ea1b6337ff524edcff3368ee15b5acf9f5e53.tar.xz |
Fixed an ARM disassembler bug where it does not handle STRi12 correctly because an extra
register operand was erroneously added. Remove an incorrect assert which triggers the bug.
rdar://problem/9131529
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/Disassembler/ARM/arm-tests.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/arm-tests.txt b/test/MC/Disassembler/ARM/arm-tests.txt index 5d80474541..22a73f2cda 100644 --- a/test/MC/Disassembler/ARM/arm-tests.txt +++ b/test/MC/Disassembler/ARM/arm-tests.txt @@ -142,3 +142,15 @@ # CHECK: uqadd16mi r6, r11, r8 0x18 0x60 0x6b 0x46 + +# CHECK: str r0, [sp, #4] +0x04 0x00 0x8d 0xe5 + +# CHECK: str r1, [sp] +0x00 0x10 0x8d 0xe5 + +# CHECK: ldr r3, [pc, #144] +0x90 0x30 0x9f 0xe5 + +# CHECK: strdeq r2, r3, [r0], -r8 +0xf8 0x24 0x00 0x00 |