summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2014-10-03 12:28:48 +0000
committerDan Liew <dan@su-root.co.uk>2014-10-03 12:28:48 +0000
commit460e0f4dfe4830649ff22cfab41337688bf37b8f (patch)
tree77c4a05f308cda41f7c3e11146ba1847b573aa69 /llvm/docs
parent4e31ae105112dc6cce0e25f21e77d336deb4e833 (diff)
downloadbcm5719-llvm-460e0f4dfe4830649ff22cfab41337688bf37b8f.tar.gz
bcm5719-llvm-460e0f4dfe4830649ff22cfab41337688bf37b8f.zip
[sphinx cleanup] Fix unexpected indentation warning introduced by r218937
llvm-svn: 218982
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/Atomics.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/Atomics.rst b/llvm/docs/Atomics.rst
index d035bac8d8d..6c8303b2830 100644
--- a/llvm/docs/Atomics.rst
+++ b/llvm/docs/Atomics.rst
@@ -444,6 +444,7 @@ on ARM, etc.).
It is often easiest for backends to use AtomicExpandPass to lower some of the
atomic constructs. Here are some lowerings it can do:
+
* cmpxchg -> loop with load-linked/store-conditional
by overriding ``hasLoadLinkedStoreConditional()``, ``emitLoadLinked()``,
``emitStoreConditional()``
@@ -454,4 +455,5 @@ atomic constructs. Here are some lowerings it can do:
and ``emitTrailingFence()``
* atomic rmw -> loop with cmpxchg or load-linked/store-conditional
by overriding ``expandAtomicRMWInIR()``
+
For an example of all of these, look at the ARM backend.
OpenPOWER on IntegriCloud