1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC/AsmParser/directive_align.s
Coby Tayree ae32556167 [AsmParser][GAS-compatibility] Ignore an empty 'p2align' directive
GAS ignores the aforementioned issue
this patch aligns LLVM + throws in an appropriate warning

Differential Revision: https://reviews.llvm.org/D36060

llvm-svn: 309841
2017-08-02 17:36:10 +00:00

22 lines
428 B
ArmAsm

# RUN: not llvm-mc -triple i386-apple-darwin9 %s 2> %t.err | FileCheck %s
# RUN: FileCheck < %t.err %s --check-prefix=CHECK-WARN
# CHECK: TEST0:
# CHECK: .p2align 1
TEST0:
.align 1
# CHECK: TEST1:
# CHECK: .p2alignl 3, 0x0, 2
TEST1:
.align32 3,,2
# CHECK: TEST2:
# CHECK: .balign 3, 10
TEST2:
.balign 3,10
# CHECK-WARN: p2align directive with no operand(s) is ignored
TEST3:
.p2align