[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / AsmParser / directive_align.s
blobd71f559fd03da90878969e76319962598292adfb
1 # RUN: not llvm-mc -triple i386-apple-darwin9 %s 2> %t.err | FileCheck %s
2 # RUN: FileCheck < %t.err %s --check-prefix=CHECK-WARN
4 .data
6 # CHECK: TEST0:
7 # CHECK: .p2align 1
8 TEST0:
9 .align 1
11 # CHECK: TEST1:
12 # CHECK: .p2alignl 3, 0x0, 2
13 TEST1:
14 .align32 3,,2
16 # CHECK: TEST2:
17 # CHECK-WARN: error: alignment must be a power of 2
18 # CHECK: .p2align 1, 0xa
19 TEST2:
20 .balign 3,10
22 # CHECK-WARN: p2align directive with no operand(s) is ignored
23 TEST3:
24 .p2align
26 # CHECK: TEST4:
27 # CHECK: .p2align 31, 0x90
28 # CHECK-WARN: error: alignment must be smaller than 2**32
29 TEST4:
30 .balign 0x100000000, 0x90
32 # CHECK: TEST5:
33 # CHECK: .p2align 31, 0x90
34 # CHECK-WARN: error: alignment must be a power of 2
35 # CHECK-WARN: error: alignment must be smaller than 2**32
36 TEST5:
37 .balign 0x100000001, 0x90