1 @ RUN
: not llvm-mc
-triple thumbv7-apple-ios
%s
-o
- 2>&1 | FileCheck
%s
3 @ CHECK
: error
: source register must
be sp if destination is sp
4 @ CHECK
: error
: source register must
be sp if destination is sp
5 @ CHECK
: error
: source register must
be sp if destination is sp
6 @ CHECK
: error
: source register must
be sp if destination is sp
10 add sp
, r3, r5, lsl
#3
13 @ CHECK
: error
: source register must
be sp if destination is sp
14 @ CHECK
: error
: source register must
be sp if destination is sp
15 @ CHECK
: error
: source register must
be sp if destination is sp
16 @ CHECK
: error
: source register must
be sp if destination is sp
20 sub sp
, r3, r5, lsl
#3