[llvm] [InstCombine] Fix select combine with null_pointer_is_valid. (PR #227168)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 00:59:06 PDT 2026


================

----------------
antoniofrighetto wrote:

```suggestion
    // If HasDereferenceable is false, we know that the address is some non-zero
```
Though might suggest, e.g., s/HasDereferenceable/DerefWouldImplyNonNull/ (or split the check, as the name now wouldn't convey the compound semantics).

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


More information about the llvm-commits mailing list