[llvm] e36be90 - [AMDGPU] Correct formatting typos in documentation

via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 17:35:18 PDT 2020


Author: Tony
Date: 2020-05-21T20:36:46-04:00
New Revision: e36be90c82c44f2631d1e2d1148af3f8a8c5b772

URL: https://github.com/llvm/llvm-project/commit/e36be90c82c44f2631d1e2d1148af3f8a8c5b772
DIFF: https://github.com/llvm/llvm-project/commit/e36be90c82c44f2631d1e2d1148af3f8a8c5b772.diff

LOG: [AMDGPU] Correct formatting typos in documentation

Summary:
- Correct missing space in some "note" and "TODO" directives in
  AMDGPUUsage.rst
- Correct warning for heading underline being too short in
  BitCodeFormat.rst

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80407

Added: 
    

Modified: 
    llvm/docs/AMDGPUUsage.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index ad9c6bd3cd4e..7f8df7034d93 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -6674,12 +6674,12 @@ after the source language arguments in the following order:
 
 The input and result arguments are assigned in order in the following manner:
 
-..note::
+.. note::
 
   There are likely some errors and omissions in the following description that
   need correction.
 
-  ..TODO::
+  .. TODO::
 
     Check the clang source code to decipher how function arguments and return
     results are handled. Also see the AMDGPU specific values used.
@@ -6727,7 +6727,7 @@ describes how the AMDGPU implements function calls:
 4.  No CFI is currently generated. See
     :ref:`amdgpu-dwarf-call-frame-information`.
 
-    ..note::
+    .. note::
 
       CFI will be generated that defines the CFA as the unswizzled address
       relative to the wave scratch base in the unswizzled private address space
@@ -6752,7 +6752,7 @@ describes how the AMDGPU implements function calls:
     from SP. Then SP is incremented to account for the known frame size before
     the call and decremented after the call.
 
-    ..note::
+    .. note::
 
       The CFI will reflect the changed calculation needed to compute the CFA
       from SP.
@@ -6761,7 +6761,7 @@ describes how the AMDGPU implements function calls:
     emergency spill slot. Buffer instructions are used for stack accesses and
     not the ``flat_scratch`` instruction.
 
-    ..TODO::
+    .. TODO::
 
       Explain when the emergency spill slot is used.
 


        


More information about the llvm-commits mailing list