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).
42 KiB
42 KiB