[llvm] [SPIR-V] Add storage class bits to fence and generic atomic semantics (PR #223023)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 07:54:00 PDT 2026
================
@@ -16,13 +16,15 @@
; AcquireRelease = 0x008 = 8 -> with CrossWorkgroup: 520, with Workgroup: 264
; SequentiallyConsistent = 0x010 = 16 -> with CrossWorkgroup: 528, with Workgroup: 272
; Acquire = 0x002 = 2 -> with CrossWorkgroup: 514
+; 0x300 = 768 -> with AcquireRelease: 776
----------------
aobolensk wrote:
- CrossWorkgroupMemory: Vulkan does not allow the CrossWorkgroup storage class at all
- UniformMemory: needs the Shader capability
- SubgroupMemory: SPIR-V has no Subgroup storage class, so that bit would not order anything
The kernel set matches the OpenCL fence flags in SPIRVBuiltins.cpp
https://github.com/llvm/llvm-project/pull/223023
More information about the llvm-commits
mailing list