[llvm] r294865 - Correcting several sphinx errors; should fix the LLVM documentation build.

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 11 10:45:24 PST 2017


Author: aaronballman
Date: Sat Feb 11 12:45:24 2017
New Revision: 294865

URL: http://llvm.org/viewvc/llvm-project?rev=294865&view=rev
Log:
Correcting several sphinx errors; should fix the LLVM documentation build.

Modified:
    llvm/trunk/docs/AMDGPUUsage.rst

Modified: llvm/trunk/docs/AMDGPUUsage.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/AMDGPUUsage.rst?rev=294865&r1=294864&r2=294865&view=diff
==============================================================================
--- llvm/trunk/docs/AMDGPUUsage.rst (original)
+++ llvm/trunk/docs/AMDGPUUsage.rst Sat Feb 11 12:45:24 2017
@@ -262,11 +262,12 @@ VOP_SDWA examples:
 For full list of supported instructions, refer to "Vector ALU instructions".
 
 Trap Handler ABI
---------------------------
+----------------
 The Trap Handler suppored is implemented differently based on the host OS. OS
 is obtained from the appropriate element of the target triple HSA OS:
 
 .. code-block:: c++
+
   enum TrapHandlerAbi {
     TrapHandlerAbiNone = 0,
     TrapHandlerAbiHsa = 1
@@ -276,10 +277,11 @@ is obtained from the appropriate element
     return isAmdHsaOS() ? TrapHandlerAbiHsa : TrapHandlerAbiNone;
   }
 
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 For HSA OS, a trap handler is always enabled and that the following S_TRAP immediate
 operand codes are supported:
+
 .. code-block:: c++
+
   enum TrapCode {
     TrapCodeBreakPoint = 0,
     TrapCodeLLVMTrap = 1,
@@ -288,15 +290,15 @@ operand codes are supported:
   };
 
 - 0: Used for debugger breakpoint. If debugger is not installed causes dispatch
-to be terminated and its associated queue put into the error state.
+  to be terminated and its associated queue put into the error state.
 - 1: Used for llvm.trap..queue_ptr is in SGPR0-1. Causes dispatch to be
-terminated and its associated queue put into the error state.
+  terminated and its associated queue put into the error state.
 - 2: Used for llvm.debugtrap. queue_ptr is in SGPR0-1. If debugger not installed
-handled same as llvm.trap.
+  handled same as llvm.trap.
 - 3: Used for HSA DEBUGTRAP. queue_ptr is in SGPR0-1, the user code is in VGPR0.
 
 Graphics
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^
 For Graphics, S_ENDPGM is generated for llvm.trap. S_NOP is generated for
 llvm.debugtrap together with a warning that there is no trap handler installed.
 




More information about the llvm-commits mailing list