[llvm] [Attributor] Don't replace `AddrSpaceCast` with `ConstantPointerNull` (PR #126779)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 10:10:00 PST 2025


shiltian wrote:

Ping.

AFAICT, only `ConstantPointerNull` matters here because it represents `null` in all AS. For the others, they are not constant thus will not be replaced by this code path.

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


More information about the llvm-commits mailing list