[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AMDGPU / elf-lds-error.s
blob4e0ec6a577868f4c6adb178343293cb49aaa961b
1 // RUN: not llvm-mc -triple amdgcn-- -mcpu gfx900 %s -o - 2>&1 | FileCheck %s
3 // CHECK: :[[@LINE+1]]:27: error: size is too large
4 .amdgpu_lds huge, 200000
6 // CHECK: :[[@LINE+1]]:30: error: size must be non-negative
7 .amdgpu_lds negsize, -4
9 // CHECK: :[[@LINE+1]]:36: error: alignment must be a power of two
10 .amdgpu_lds zero_align, 5, 0
12 // CHECK: :[[@LINE+1]]:39: error: alignment must be a power of two
13 .amdgpu_lds non_pot_align, 0, 12
15 // CHECK: :[[@LINE+1]]:36: error: alignment is too large
16 .amdgpu_lds huge_align, 0, 1099511627776
18 // CHECK: :[[@LINE+1]]:9: error: unknown directive
19 .amdgpu_ldsnowhitespace, 8