[llvm] [SPIR-V] Drop storage-class MemorySemantics bit for relaxed Vulkan atomics (PR #215802)

Joshua Batista via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 10:48:55 PDT 2026


================
@@ -2141,7 +2141,9 @@ bool SPIRVInstructionSelector::selectAtomicLoad(Register ResVReg,
   uint32_t MemSem = static_cast<uint32_t>(getMemSemantics(AO));
----------------
bob80905 wrote:

Is OpAtomicCompareExchange also available to modify in this way? Though it hasn't had a lowering implementation yet, maybe making a TODO calling out that this has to be done for that operation as well would be good.

https://github.com/llvm/llvm-project/pull/215802


More information about the llvm-commits mailing list