]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/ARM/thumb2-ldrd.s
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
[FreeBSD/FreeBSD.git] / test / MC / ARM / thumb2-ldrd.s
1 @ RUN: not llvm-mc -triple thumb-eabi -mattr=+thumb2 %s -o /dev/null 2>&1 \
2 @ RUN:    | FileCheck %s
3
4 @ rdar://14479780
5
6 ldrd r0, r0, [pc, #0]
7 ldrd r0, r0, [r1, #4]
8 ldrd r0, r0, [r1], #4
9 ldrd r0, r0, [r1, #4]!
10
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
16