From ea01fda5b399b9071de9b7c8b500e2d5a86729c7 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Fri, 3 Oct 2014 12:28:48 +0000 Subject: [PATCH] [sphinx cleanup] Fix unexpected indentation warning introduced by r218937 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218982 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/Atomics.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Atomics.rst b/docs/Atomics.rst index d035bac8d8d..6c8303b2830 100644 --- a/docs/Atomics.rst +++ b/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.