[llvm-commits] [llvm] r137408 - /llvm/trunk/docs/Atomics.html

Eli Friedman eli.friedman at gmail.com
Thu Aug 11 18:26:06 PDT 2011


Author: efriedma
Date: Thu Aug 11 20:26:06 2011
New Revision: 137408

URL: http://llvm.org/viewvc/llvm-project?rev=137408&view=rev
Log:
Fix up this paragraph (including a nasty typo).


Modified:
    llvm/trunk/docs/Atomics.html

Modified: llvm/trunk/docs/Atomics.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Atomics.html?rev=137408&r1=137407&r2=137408&view=diff
==============================================================================
--- llvm/trunk/docs/Atomics.html (original)
+++ llvm/trunk/docs/Atomics.html Thu Aug 11 20:26:06 2011
@@ -287,10 +287,10 @@
   <dd>In general, optimizers should treat this like a nothrow call; the
       the possible optimizations are usually not interesting.</dd>
   <dt>Notes for code generation</dt>
-  <dd>Similarly to Acquire, a fence after the relevant operation is usually
-      sufficient; see the section on Acquire.  Note that a store-store fence
-      is not sufficient to implement Release semantics; store-store fences
-      are generally not exposed to IR because they are extremely difficult to
+  <dd>See the section on Acquire; a fence before the relevant operation is
+      usually sufficient for Release.  Note that a store-store fence is not
+      sufficient to implement Release semantics; store-store fences are
+      generally not exposed to IR because they are extremely difficult to
       use correctly.</dd>
 </dl>
 





More information about the llvm-commits mailing list