brintos

brintos / llvm-project-archived public Read only

0
0
Text · 665 B · 4e0ec6a Raw
20 lines · plain
1// RUN: not llvm-mc -triple amdgcn-- -mcpu gfx900 %s -o - 2>&1 | FileCheck %s2 3// CHECK: :[[@LINE+1]]:27: error: size is too large4        .amdgpu_lds huge, 2000005 6// CHECK: :[[@LINE+1]]:30: error: size must be non-negative7        .amdgpu_lds negsize, -48 9// CHECK: :[[@LINE+1]]:36: error: alignment must be a power of two10        .amdgpu_lds zero_align, 5, 011 12// CHECK: :[[@LINE+1]]:39: error: alignment must be a power of two13        .amdgpu_lds non_pot_align, 0, 1214 15// CHECK: :[[@LINE+1]]:36: error: alignment is too large16        .amdgpu_lds huge_align, 0, 109951162777617 18// CHECK: :[[@LINE+1]]:9: error: unknown directive19        .amdgpu_ldsnowhitespace, 820