Debian Codegraph @

llvm/test/CodeGen/SPIRV/capability-Shader.ll

raw
1 ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
3 ; CHECK-DAG: OpCapability Shader
4 ;; Ensure no other capability is listed.
5 ; CHECK-NOT: OpCapability
6
7 define void @main() #1 {
8 entry:
9 ret void
10 }
11
12 attributes #1 = { "hlsl.numthreads"="4,8,16" "hlsl.shader"="compute" }