llvm/test/MC/ARM/ldrd-strd-gnu-arm-bad-imm.s
Stepan Dyatkovskiy 148692bafe Fix for PR18921 (LDRD/STRD part)::
Removed "GNU Assembler extension (compatibility)" definitions from ARMInstrInfo.td
Fixed ARMAsmParser::ParseInstruction GNU compatability branch, so it also works for thumb mode from now.
Added new tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205622 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-04 10:17:56 +00:00

10 lines
309 B
ArmAsm

@ RUN: not llvm-mc -triple=armv7-linux-gnueabi %s 2>&1 | FileCheck %s
.text
@ CHECK: error: instruction requires: thumb2
@ CHECK: ldrd r0, [r0, #512]
ldrd r0, [r0, #512]
@ CHECK: error: instruction requires: thumb2
@ CHECK: strd r0, [r0, #512]
strd r0, [r0, #512]