summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/LangRef.rst')
-rw-r--r--llvm/docs/LangRef.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 1a8886dd79c9..3a5763d4747c 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -3322,8 +3322,12 @@ as follows:
default address space 0. The value of ``<as>`` must be in the range [1,2^24).
The optional ``<flags>`` are used to specify properties of pointers in this
address space: the character ``u`` marks pointers as having an unstable
- representation, and ``e`` marks pointers having external state. See
- :ref:`Non-Integral Pointer Types <nointptrtype>`.
+ representation; ``e`` marks pointers having external state; ``z`` marks the
+ value of the nullptr as all-zeros (default behavior if it is not specified);
+ ``o`` marks the value of the nullptr as all-ones; ``c`` marks the value of
+ the nullptr as custom (neither all-zeros nor all-ones), such that LLVM will
+ not be able to fold various casts involving nullptr.
+ See :ref:`Non-Integral Pointer Types <nointptrtype>`.
``i<size>:<abi>[:<pref>]``
This specifies the alignment for an integer type of a given bit