summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll10
1 files changed, 3 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll b/llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll
index 29ef858b85b..0a7cd57a38e 100644
--- a/llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll
+++ b/llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll
@@ -1,18 +1,14 @@
; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s
; CHECK: in function pixel_s{{.*}}: unsupported non-compute shaders with HSA
-define void @pixel_shader() #0 {
+define amdgpu_ps void @pixel_shader() #0 {
ret void
}
-define void @vertex_shader() #1 {
+define amdgpu_vs void @vertex_shader() #0 {
ret void
}
-define void @geometry_shader() #2 {
+define amdgpu_gs void @geometry_shader() #0 {
ret void
}
-
-attributes #0 = { nounwind "ShaderType"="0" }
-attributes #1 = { nounwind "ShaderType"="1" }
-attributes #2 = { nounwind "ShaderType"="2" }
OpenPOWER on IntegriCloud