1*9880d681SAndroid Build Coastguard Worker; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; CHECK: in function pixel_s{{.*}}: unsupported non-compute shaders with HSA 4*9880d681SAndroid Build Coastguard Workerdefine amdgpu_ps void @pixel_shader() #0 { 5*9880d681SAndroid Build Coastguard Worker ret void 6*9880d681SAndroid Build Coastguard Worker} 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Worker; CHECK: in function vertex_s{{.*}}: unsupported non-compute shaders with HSA 9*9880d681SAndroid Build Coastguard Workerdefine amdgpu_vs void @vertex_shader() #0 { 10*9880d681SAndroid Build Coastguard Worker ret void 11*9880d681SAndroid Build Coastguard Worker} 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker; CHECK: in function geometry_s{{.*}}: unsupported non-compute shaders with HSA 14*9880d681SAndroid Build Coastguard Workerdefine amdgpu_gs void @geometry_shader() #0 { 15*9880d681SAndroid Build Coastguard Worker ret void 16*9880d681SAndroid Build Coastguard Worker} 17