[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:40 PDT 2025
================
@@ -660,42 +660,136 @@ Non-Integral Pointer Type
Note: non-integral pointer types are a work in progress, and they should be
considered experimental at this time.
-LLVM IR optionally allows the frontend to denote pointers in certain address
-spaces as "non-integral" via the :ref:`datalayout string<langref_datalayout>`.
-Non-integral pointer types represent pointers that have an *unspecified* bitwise
-representation; that is, the integral representation may be target dependent or
-unstable (not backed by a fixed integer).
+For most targets, the pointer representation is a direct mapping from the
+bitwise representation to the address of the underlying memory allocation.
----------------
nikic wrote:
```suggestion
bitwise representation to the address of the underlying memory location.
```
nit: "address of an allocation" for me implies the *start* of the object.
https://github.com/llvm/llvm-project/pull/105735
More information about the llvm-branch-commits
mailing list