diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-03-25 19:35:37 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-03-25 19:35:37 +0000 |
| commit | aaf2c69400eaf3842c63f94995890eae731f1863 (patch) | |
| tree | 0cd453d8f41519970036b97de9cec576702851a4 /llvm/test | |
| parent | 1d84f3757781559b3990c3b0acb8982034d0a615 (diff) | |
| download | bcm5719-llvm-aaf2c69400eaf3842c63f94995890eae731f1863.tar.gz bcm5719-llvm-aaf2c69400eaf3842c63f94995890eae731f1863.zip | |
DisassembleThumb2LdSt() did not handle t2LDRs correctly with respect to RegClass. Add two test cases.
rdar://problem/9182892
llvm-svn: 128299
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/Disassembler/ARM/thumb-tests.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/ARM/thumb-tests.txt b/llvm/test/MC/Disassembler/ARM/thumb-tests.txt index e1935aec9aa..eeb8dd0f367 100644 --- a/llvm/test/MC/Disassembler/ARM/thumb-tests.txt +++ b/llvm/test/MC/Disassembler/ARM/thumb-tests.txt @@ -166,3 +166,9 @@ # CHECK: tbb [r5, r4] 0xd5 0xe8 0x04 0xf0 + +# CHECK: ldr.w r4, [sp, r4, lsl #3] +0x5d 0xf8 0x34 0x40 + +# CHECK: ldr.w r5, [r6, #30] +0x56 0xf8 0x1e 0x56 |

