[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 Feb 14 07:55:30 PST 2026


shiltian wrote:

I also wonder if we want to introduce `ConstantZeroPointer` instead of using `ConstantExpr(inttoptr i8 0)`, since in long term it seems like we want to get rid of `ConstantExpr`. @nikic 

https://github.com/llvm/llvm-project/pull/166667


More information about the cfe-commits mailing list