[llvm] [RFC][DataLayout] Add null pointer value infrastructure (PR #183207)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 29 14:01:57 PDT 2026
nikic wrote:
Which targets are going to use `No`?
-----
I assume that the address of the null pointer is going to be considered non-dereferenceable (once this work is complete) unless null_pointer_is_valid is used? That is, the special rule that 0 pointer is dereferenceable in non-default AS will go away? And the default is going to be that 0 is non-dereferenceable in all address spaces by dint of `Nz` being the default?
https://github.com/llvm/llvm-project/pull/183207
More information about the llvm-commits
mailing list