[llvm] [SPIRV] Let atomic store store pointers (PR #201251)
Dmitry Sidorov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 12:46:21 PDT 2026
================
@@ -0,0 +1,23 @@
+; RUN: llc -O0 -mtriple=spirv64 %s -o - | FileCheck %s
----------------
MrSidims wrote:
I believe we should also add a test for vulkan SPIR-V.
Context: the whole change only works for physical addressing model and it won't work for logical addressing. I hope that SPIR-V backend somewhere later in the stack would reject the generated module with OpConvertPtrToU, but I don't know for sure. IF this won't happen - the expansion must by guarded with a check for physical addressing.
https://github.com/llvm/llvm-project/pull/201251
More information about the llvm-commits
mailing list