[llvm] [IR] Add elementwise modifier to atomic stores (PR #210672)
Harrison Hao via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 07:55:17 PDT 2026
================
@@ -11937,16 +11937,25 @@ operand. If the `store` is marked as `volatile`, then the optimizer is not
allowed to modify the number or order of execution of this `store` with other
{ref}`volatile operations <volatile>`. Only values of {ref}`first class <t_firstclass>` types of known size (i.e., not containing an {ref}`opaque structural type <t_opaque>`) can be stored.
-If the `store` is marked as `atomic`, it takes an extra {ref}`ordering <ordering>` and optional `syncscope("<target-scope>")` argument. The
-`acquire` and `acq_rel` orderings aren't valid on `store` instructions.
-Atomic loads produce {ref}`defined <memmodel>` results when they may see
-multiple atomic stores. The type of the pointee must be an integer, pointer,
+If the `store` is marked as `atomic`, it takes an extra
+{ref}`ordering <ordering>` and optional `syncscope("<target-scope>")`
----------------
harrisonGPU wrote:
Thanks, I have updated it.
https://github.com/llvm/llvm-project/pull/210672
More information about the llvm-commits
mailing list