aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/SPIRV/capability-Shader.ll
blob: 76adcd04a127075b7e491f6c3fb413b1ada84118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s

; CHECK-DAG: OpCapability Shader
;; Ensure no other capability is listed.
; CHECK-NOT: OpCapability

define void @main() #1 {
entry:
  ret void
}

attributes #1 = { "hlsl.numthreads"="4,8,16" "hlsl.shader"="compute" }