33 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=tahiti -filetype=null %s 2>&1 | FileCheck %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=bonaire -filetype=null %s 2>&1 | FileCheck %s3// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx908 -filetype=null %s 2>&1 | FileCheck %s4// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx90a -filetype=null %s 2>&1 | FileCheck %s5 6// CHECK: :[[@LINE+1]]:13: error: invalid operand for instruction7ds_gws_init s0 offset:65535 gds8 9// CHECK: :[[@LINE+1]]:13: error: invalid operand for instruction10ds_gws_init s[0:1] offset:65535 gds11 12// CHECK: :[[@LINE+1]]:13: error: invalid operand for instruction13ds_gws_init s1 offset:65535 gds14 15// CHECK: :[[@LINE+1]]:16: error: invalid operand for instruction16ds_gws_barrier s1 gds17 18// CHECK: :[[@LINE+1]]:16: error: invalid operand for instruction19ds_gws_barrier s2 gds20 21// CHECK: :[[@LINE+1]]:15: error: invalid operand for instruction22ds_gws_sema_v s1 gds23 24// CHECK: :[[@LINE+1]]:15: error: invalid operand for instruction25ds_gws_sema_v s2 gds26 27// CHECK: :[[@LINE+1]]:16: error: invalid operand for instruction28ds_gws_sema_br s1 gds29 30// CHECK: :[[@LINE+1]]:16: error: invalid operand for instruction31ds_gws_sema_br s2 gds32 33