[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 22 07:41:41 PDT 2025


================
@@ -3248,9 +3346,11 @@ as follows:
     this set are considered to support most general arithmetic operations
     efficiently.
 ``ni:<address space0>:<address space1>:<address space2>...``
-    This specifies pointer types with the specified address spaces
-    as :ref:`Non-Integral Pointer Type <nointptrtype>` s.  The ``0``
-    address space cannot be specified as non-integral.
+    This marks pointer types with the specified address spaces
+    as :ref:`non-integral and unstable <nointptrtype>`.
----------------
nikic wrote:

```suggestion
    as :ref:`unstable <nointptrtype>`.
```
Looking at the implementation, `ni` is equivalent to `pu`, so I think I'd make it explicit that it only implies this specific non-integral property.

https://github.com/llvm/llvm-project/pull/105735


More information about the llvm-branch-commits mailing list