[llvm] [LangRef] adjust IR atomics specification following C++20 model tweaks. (PR #77263)

Joshua Cranmer via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 10:59:34 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``.
----------------
jcranmer-intel wrote:

Nit: here's a bare C++ that could do with C/C++ :-)

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


More information about the llvm-commits mailing list