[all-commits] [llvm/llvm-project] dfa56b: [RFC][DataLayout] Add null pointer value infrastru...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Thu Apr 30 09:33:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfa56b58d663cf79cd4a825ef585aa87d9133a86
https://github.com/llvm/llvm-project/commit/dfa56b58d663cf79cd4a825ef585aa87d9133a86
Author: Shilei Tian <i at tianshilei.me>
Date: 2026-04-30 (Thu, 30 Apr 2026)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/docs/ReleaseNotes.md
M llvm/include/llvm/IR/DataLayout.h
M llvm/lib/IR/DataLayout.cpp
M llvm/unittests/IR/DataLayoutTest.cpp
Log Message:
-----------
[RFC][DataLayout] Add null pointer value infrastructure (#183207)
Add support for specifying the null pointer bit representation per
address space in DataLayout via new pointer spec flags:
- 'z': null pointer is all-zeros
- 'o': null pointer is all-ones
When neither flag is present, the null pointer value is zero.
No target DataLayout strings are updated in this change. This is pure
infrastructure for a future ConstantPointerNull semantic change to
support targets with non-zero null pointers (e.g. AMDGPU).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list