[llvm] [WIP] Consider datalayout sentinel pointer value for isKnownNonZero check (PR #91769)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Sat May 11 15:54:56 PDT 2024


https://github.com/efriedma-quic commented:

This doesn't look right.  Pointers can have contain an all-zero value no matter what the sentinel value is.

I think you want to modify NullPointerIsDefined?

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


More information about the llvm-commits mailing list