1 // RUN
: not llvm-mc
-triple armv6m-
-none-eabi
< %s
2>&1 | FileCheck
%s
3 // CHECK
: error
: invalid instruction
, any one of the following would fix this
:
4 // CHECK-NEXT
: add sp
, r0, #4
6 // CHECK-NEXT
: note
: operand must
be a register in range
[r0, r7]
7 // CHECK-NEXT
: add sp
, r0, #4
9 // CHECK-NEXT
: note
: operand must
be a register sp
10 // CHECK-NEXT
: add sp
, r0, #4
12 // CHECK-NEXT
: note
: too many operands for instruction
13 // CHECK-NEXT
: add sp
, r0, #4