Debian Codegraph @

llvm-project/llvm/projects/llvm-spirv/test/SubgroupsPerWorkgroup.spvasm

raw
1 ; REQUIRES: spirv-as
2
3 ; RUN: spirv-as %s --target-env spv1.2 -o %t.spv
4 ; RUN: spirv-val %t.spv
5 ; RUN: llvm-spirv -r -o %t.rev.bc %t.spv
6 ; RUN: llvm-dis %t.rev.bc -o - | FileCheck %s
7
8 OpCapability Addresses
9 OpCapability Linkage
10 OpCapability Kernel
11 OpCapability SubgroupDispatch
12 OpMemoryModel Physical64 OpenCL
13 OpEntryPoint Kernel %fn "testSubgroupsPerWorkgroup"
14 OpExecutionMode %fn SubgroupsPerWorkgroup 8
15 %void = OpTypeVoid
16 %fnTy = OpTypeFunction %void
17
18 ; CHECK: !spirv.ExecutionMode = !{![[MD:[0-9]+]]}
19 ; CHECK: ![[MD]] = !{ptr @testSubgroupsPerWorkgroup, i32 36, i32 8}
20
21 %fn = OpFunction %void None %fnTy
22 %entry = OpLabel
23 OpReturn
24 OpFunctionEnd