[llvm] 17a3bdb - [RISCV][docs] Fix List Formatting
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 04:51:21 PDT 2024
Author: Sam Elliott
Date: 2024-09-17T04:50:45-07:00
New Revision: 17a3bdb529552a7891f43c9c28d987a5a1b63050
URL: https://github.com/llvm/llvm-project/commit/17a3bdb529552a7891f43c9c28d987a5a1b63050
DIFF: https://github.com/llvm/llvm-project/commit/17a3bdb529552a7891f43c9c28d987a5a1b63050.diff
LOG: [RISCV][docs] Fix List Formatting
Added:
Modified:
llvm/docs/RISCVUsage.rst
Removed:
################################################################################
diff --git a/llvm/docs/RISCVUsage.rst b/llvm/docs/RISCVUsage.rst
index 55ad8400ca16a5..f4240048574541 100644
--- a/llvm/docs/RISCVUsage.rst
+++ b/llvm/docs/RISCVUsage.rst
@@ -429,6 +429,7 @@ Global Pointer (GP) Relaxation and the Small Data Limit
Some of the RISC-V psABI variants reserve ``gp`` (``x3``) for use as a "Global Pointer", to make generating data addresses more efficient.
To use this functionality, you need to be doing all of the following:
+
* Use the ``medlow`` (aka ``small``) code model;
* Not use the ``gp`` register for any other uses (some platforms use it for the shadow stack and others as a temporary -- as denoted by the ``Tag_RISCV_x3_reg_usage`` build attribute);
* Compile your objects with Clang's ``-mrelax`` option, to enable relaxation annotations on relocatable objects (this is the default, but ``-mno-relax`` disables these relaxation annotations);
More information about the llvm-commits
mailing list