[llvm] [LangRef] adjust IR atomics specification following C++20 model tweaks. (PR #77263)
James Y Knight via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 13:58:10 PST 2024
================
@@ -3413,33 +3412,38 @@ For a simpler introduction to the ordering constraints, see the
stronger) operations on the same address. If an address is written
``monotonic``-ally by one thread, and other threads ``monotonic``-ally
read that address repeatedly, the other threads must eventually see
- the write. This corresponds to the C++0x/C1x
- ``memory_order_relaxed``.
+ the write. This corresponds to the C++/C ``memory_order_relaxed``.
``acquire``
In addition to the guarantees of ``monotonic``, a
*synchronizes-with* edge may be formed with a ``release`` operation.
This is intended to model C++'s ``memory_order_acquire``.
----------------
jyknight wrote:
Done
https://github.com/llvm/llvm-project/pull/77263
More information about the llvm-commits
mailing list