1 @ RUN
: not llvm-mc
-triple thumbv7-apple-ios
%s
-o
/dev
/null
2>&1 | FileCheck
%s
10 @CHECK
: error
: invalid instruction
, any one of the following would fix this
:
11 @CHECK-NEXT
: add sp
, r5, #1
13 @CHECK-NEXT
: note
: invalid operand for instruction
14 @CHECK-NEXT
: add sp
, r5, #1
16 @CHECK-NEXT
: note
: operand must
be a register in range
[r0, r12] or r14
17 @CHECK-NEXT
: add sp
, r5, #1
19 @CHECK-NEXT
: note
: operand must
be a register in range
[r0, r12] or r14
20 @CHECK-NEXT
: add sp
, r5, #1
22 @CHECK-NEXT
: note
: operand must
be a register sp
23 @CHECK-NEXT
: add sp
, r5, #1
25 @CHECK-NEXT
: error
: invalid instruction
, any one of the following would fix this
:
26 @CHECK-NEXT
: addw sp
, r7, #4
28 @CHECK-NEXT
: note
: operand must
be a register in range
[r0, r12] or r14
29 @CHECK-NEXT
: addw sp
, r7, #4
31 @CHECK-NEXT
: note
: operand must
be a register sp
32 @CHECK-NEXT
: addw sp
, r7, #4
34 @CHECK-NEXT
: error
: source register must
be sp if destination is sp
35 @CHECK-NEXT
: add sp
, r3, r2
37 @CHECK-NEXT
: error
: source register must
be sp if destination is sp
38 @CHECK-NEXT
: add sp
, r3, r5, lsl
#3
40 @CHECK-NEXT
: error
: invalid instruction
, any one of the following would fix this
:
41 @CHECK-NEXT
: sub sp
, r5, #1
43 @CHECK-NEXT
: note
: invalid operand for instruction
44 @CHECK-NEXT
: sub sp
, r5, #1
46 @CHECK-NEXT
: note
: operand must
be a register in range
[r0, r12] or r14
47 @CHECK-NEXT
: sub sp
, r5, #1
49 @CHECK-NEXT
: note
: operand must
be a register in range
[r0, r12] or r14
50 @CHECK-NEXT
: sub sp
, r5, #1
52 @CHECK-NEXT
: note
: operand must
be a register sp
53 @CHECK-NEXT
: sub sp
, r5, #1
55 @CHECK-NEXT
: error
: invalid instruction
, any one of the following would fix this
:
56 @CHECK-NEXT
: subw sp
, r7, #4
58 @CHECK-NEXT
: note
: operand must
be a register in range
[r0, r12] or r14
59 @CHECK-NEXT
: subw sp
, r7, #4
61 @CHECK-NEXT
: note
: operand must
be a register sp
62 @CHECK-NEXT
: subw sp
, r7, #4
64 @CHECK-NEXT
: error
: source register must
be sp if destination is sp
65 @CHECK-NEXT
: sub sp
, r3, r2
67 @CHECK-NEXT
: error
: source register must
be sp if destination is sp
68 @CHECK-NEXT
: sub sp
, r3, r5, lsl
#3