mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
ec1c80576d
.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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201988 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
390 B
ArmAsm
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
|
|
|