summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll
blob: 0a7cd57a38ee6d7486b086dab9716b1bf75c73dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 amdgpu_ps void @pixel_shader() #0 {
  ret void
}

define amdgpu_vs void @vertex_shader() #0 {
  ret void
}

define amdgpu_gs void @geometry_shader() #0 {
  ret void
}
OpenPOWER on IntegriCloud