[clang] [clang][ExprConst] Consider integer pointers of value 0 nullptr (PR #150164)

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 31 08:38:51 PDT 2025


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/150164 at github.com>


zygoloid wrote:

> @zygoloid Are the new tests what you expected?

Almost -- what I'd like is a test for `-triple amdgcn` showing we still use the `rc` mangling for the zero but not null case on that target (and a test that we use the `L0` mangling for the case of -1 cast to pointer type would be nice too).

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


More information about the cfe-commits mailing list