[llvm] [SPIRV] Let atomic store store pointers (PR #201251)

Nick Sarnie via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 08:23:27 PDT 2026


================
@@ -0,0 +1,23 @@
+; RUN: llc -O0 -mtriple=spirv32-- %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-- %s -o - -filetype=obj | spirv-val %}
+
+; Check that 'store atomic' LLVM IR instructions are lowered correctly to
+; OpAtomicStore when a pointer is passed as value
----------------
sarnex wrote:

```suggestion
; OpAtomicStore when a pointer is passed as value.
```

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


More information about the llvm-commits mailing list