brintos

brintos / llvm-project-archived public Read only

0
0
Text · 288 B · 76adcd0 Raw
13 lines · plain
1; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s2 3; CHECK-DAG: OpCapability Shader4;; Ensure no other capability is listed.5; CHECK-NOT: OpCapability6 7define void @main() #1 {8entry:9  ret void10}11 12attributes #1 = { "hlsl.numthreads"="4,8,16" "hlsl.shader"="compute" }13