Files
TheRock/compiler/spirv-llvm-translator/test/ignore-builtin-linkage-name.spt
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

56 lines
1.2 KiB
Cheetah

119734787 65536 393230 25 0
2 Capability Addresses
2 Capability Linkage
2 Capability Kernel
2 Capability Int64
2 Capability GenericPointer
5 ExtInstImport 1 "OpenCL.std"
3 MemoryModel 2 2
4 EntryPoint 6 8 "foo"
3 Source 0 0
8 Name 5 "__spirv_WorkgroupSize"
4 Name 9 "entry"
4 Name 13 "GroupID"
3 Name 24 "mul"
4 Decorate 5 BuiltIn 25
3 Decorate 5 Constant
10 Decorate 5 LinkageAttributes "__spirv_WorkgroupSize" Import
4 Decorate 13 Alignment 8
4 Decorate 5 Alignment 32
4 TypeInt 2 64 0
5 Constant 2 10 3 0
5 Constant 2 16 0 0
5 Constant 2 20 2 0
4 TypeVector 3 2 3
4 TypePointer 4 5 3
2 TypeVoid 6
3 TypeFunction 7 6
4 TypeArray 11 2 10
4 TypePointer 12 7 11
4 TypePointer 14 8 3
4 TypePointer 17 8 2
4 Variable 4 5 5
5 Function 6 8 0 7
2 Label 9
4 Variable 12 13 7
4 PtrCastToGeneric 14 15 5
6 PtrAccessChain 17 18 15 16 16
4 PtrCastToGeneric 14 19 5
6 PtrAccessChain 17 21 19 16 20
6 Load 2 22 18 2 32
6 Load 2 23 21 2 8
5 IMul 2 24 22 23
1 Return
1 FunctionEnd
; RUN: llvm-spirv %s -to-binary -o %t.spv
; RUN: spirv-val %t.spv
; RUN: llvm-spirv -r %t.spv -spirv-target-env=SPV-IR -o - | llvm-dis | FileCheck %s -check-prefix=CHECK-LLVM
; CHECK-LLVM-NOT: __spirv_WorkgroupSize
; CHECK-LLVM: __spirv_BuiltInWorkgroupSize