1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/ARM/directive-align.s
Saleem Abdulrasool 05ca7814d9 ARM IAS: support .align without parameters
.align is handled specially on certain targets.  .align without any parameters
on ARM indicates a default alignment (4).  Handle the special case in the target
parser, but fall back to the generic parser for the normal version.

llvm-svn: 201988
2014-02-23 17:45:32 +00:00

29 lines
390 B
ArmAsm

@ RUN: llvm-mc -triple armv7-eabi %s | FileCheck %s
.data
unaligned:
.byte 1
.align
@ CHECK-LABEL: unaligned
@ CHECK-NEXT: .byte 1
@ CHECK-NEXT: .align 2
aligned:
.long 0x1d10c1e5
.align
@ CHECK-LABEL: aligned
@ CHECK-NEXT: .long 487637477
@ CHECK-NEXT: .align 2
trailer:
.long 0xd1ab011c
.align 2
@ CHECK-LABEL: trailer
@ CHECK-NEXT: .long 3517645084
@ CHECK-NEXT: .align 2