[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / ARM / thumb2-ldrd.s
blob5166ff00ec18c4889c6d3c034710b4b3d1714308
1 @ RUN: not llvm-mc -triple thumb-eabi -mattr=+thumb2 %s -o /dev/null 2>&1 \
2 @ RUN: | FileCheck %s
4 @ rdar://14479780
6 ldrd r0, r0, [pc, #0]
7 ldrd r0, r0, [r1, #4]
8 ldrd r0, r0, [r1], #4
9 ldrd r0, r0, [r1, #4]!
11 @ CHECK: error: destination operands can't be identical
12 @ CHECK: error: destination operands can't be identical
13 @ CHECK: error: destination operands can't be identical
14 @ CHECK: error: destination operands can't be identical
15 @ CHECK-NOT: error: destination operands can't be identical