1 // RUN
: not llvm-mc
-triple armv6m-
-none-eabi
< %s
2>&1 | FileCheck
%s
3 // Some of these CHECK lines need to uses regexes to that the amount of
4 // whitespace between the start of the line
and the caret is significant.
7 // CHECK
: error
: invalid instruction
, any one of the following would fix this
:
8 // CHECK
: note
: instruction requires
: thumb2
9 // CHECK
: note
: operand must
be a register sp
10 // CHECK-NEXT
: {{^
add sp
, r0, #4}}
11 // CHECK-NEXT
: {{^ \^
}}
12 // CHECK
: note
: too many operands for instruction