Fix up this paragraph (including a nasty typo).
authorEli Friedman <eli.friedman@gmail.com>
Fri, 12 Aug 2011 01:26:06 +0000 (01:26 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 12 Aug 2011 01:26:06 +0000 (01:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137408 91177308-0d34-0410-b5e6-96231b3b80d8

docs/Atomics.html

index d5bf9fa5c0f4b3a85f3f8235324ceb3c2e838110..95040fb4c32791a06beb9fff38f0726c8b29e006 100644 (file)
@@ -287,10 +287,10 @@ instructions has been clarified in the IR.</p>
   <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>