1 @ RUN
: not llvm-mc
-triple
=thumbv7m-
-none-eabi
< %s
2>&1 | FileCheck
%s
3 @ These instructions all write to the PC
, so are UNPREDICTABLE if they are in
4 @ an IT block
, but
not the last instruction in the block.
8 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
10 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
12 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
16 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
18 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
20 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
24 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
26 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
28 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
32 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
34 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
36 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
39 ldreq pc
, [r0, r1, LSL
#1]
40 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
42 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
44 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
48 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
50 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
52 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block
55 tbheq
[r0, r1, LSL
#1]
56 @ CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction must
be outside of IT block
or the last instruction in an IT block