xref: /aosp_15_r20/external/llvm/test/MC/ARM/thumb2-ldrd.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker@ RUN: not llvm-mc -triple thumb-eabi -mattr=+thumb2 %s -o /dev/null 2>&1 \
2*9880d681SAndroid Build Coastguard Worker@ RUN:	  | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker@ rdar://14479780
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workerldrd r0, r0, [pc, #0]
7*9880d681SAndroid Build Coastguard Workerldrd r0, r0, [r1, #4]
8*9880d681SAndroid Build Coastguard Workerldrd r0, r0, [r1], #4
9*9880d681SAndroid Build Coastguard Workerldrd r0, r0, [r1, #4]!
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker@ CHECK: error: destination operands can't be identical
12*9880d681SAndroid Build Coastguard Worker@ CHECK: error: destination operands can't be identical
13*9880d681SAndroid Build Coastguard Worker@ CHECK: error: destination operands can't be identical
14*9880d681SAndroid Build Coastguard Worker@ CHECK: error: destination operands can't be identical
15*9880d681SAndroid Build Coastguard Worker@ CHECK-NOT: error: destination operands can't be identical
16*9880d681SAndroid Build Coastguard Worker
17