1 // RUN
: llvm-mc
%s
--triple
=arm-linux-gnueabihf
-filetype
=obj | llvm-objdump
--no-show-raw-insn
--triple
=armv7
-d
- | FileCheck
%s
3 // Check that the architectural
nop is only produced for subtargets that
4 // support it. This includes
nop padding for alignment.
27 // CHECK
: 00000000 <foo
>:
28 // CHECK-NEXT
: 0: mov
r1, r0
29 // CHECK-NEXT
: 4: mov
r0, r0
30 // CHECK-NEXT
: 8: mov
r0, r0
31 // CHECK-NEXT
: c
: mov
r0, r0
32 // CHECK-NEXT
: 10: bx
lr
34 // CHECK
: 00000014 <bar
>:
35 // CHECK-NEXT
: 14: mov
r1, r0
36 // CHECK-NEXT
: 18: nop
37 // CHECK-NEXT
: 1c
: nop
38 // CHECK-NEXT
: 20: bx
lr
40 // CHECK
: 00000024 <baz
>:
41 // CHECK-NEXT
: 24: mov
r1, r0
42 // CHECK-NEXT
: 28: mov
r0, r0
43 // CHECK-NEXT
: 2c
: mov
r0, r0
44 // CHECK-NEXT
: 30: bx
lr