[clang] [lld] [llvm] [WIP][IR][Constants] Change the semantic of `ConstantPointerNull` to represent an actual `nullptr` instead of a zero-value pointer (PR #166667)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 31 06:35:35 PST 2026
================
@@ -20,7 +20,7 @@
@g = common global i32 0, align 4
@h = common global i32 0, align 4
- at f = common global ptr null, align 4
+ at f = common global ptr zeroinitializer, align 4
----------------
shiltian wrote:
That's a good idea. I'll try that route.
https://github.com/llvm/llvm-project/pull/166667
More information about the cfe-commits
mailing list