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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 10:48:30 PDT 2026


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

----------------
dtcxzyw wrote:

Is `if((HasDereferenceable || GEP->isInBounds()) && !NullPointerIsDefined)` better? Then we don't need to modify the callers.


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


More information about the llvm-commits mailing list