[clang] [lld] [llvm] [WIP][IR][Constants] Change the semantic of `ConstantPointerNull` to represent an actual `nullptr` instead of a zero-value pointer (PR #166667)
Alexander Richardson via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 17 10:42:07 PST 2025
================
@@ -5,8 +5,8 @@
; CHECK-NOT: bitcast
; CHECK-NOT: trunc
-; CHECK: addrspacecast
-; CHECK: addrspacecast
+; CHECK: ptr addrspace(1) null
+; CHECK: ptr null
----------------
arichardson wrote:
Unrelated to this PR but these checks are not great, can we regen this test with UTC and --check-globals and pre-commit that?
https://github.com/llvm/llvm-project/pull/166667
More information about the cfe-commits
mailing list