llvm-6502/test/MC/ARM/nop-armv6t2-padding.s
Jim Grosbach d0d3f7e01f ARM .align NOP padding uses different encoding pre-ARMv6.
Patch by Kristof Beyls and James Malloy.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137723 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-16 17:06:20 +00:00

11 lines
295 B
ArmAsm

@ RUN: llvm-mc -triple armv6t2-apple-darwin %s -filetype=obj -o %t.obj
@ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
@ RUN: FileCheck %s < %t.dump
x:
add r0, r1, r2
.align 4
add r0, r1, r2
@ CHECK: ('_section_data', '020081e0 007820e3 007820e3 007820e3 020081e0')