[llvm] [InstCombine] Use KnownBits predicate helpers (PR #115874)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 12 07:21:50 PST 2024
nikic wrote:
The reason this only makes a different for pointers is that simplifyICmpInst calls isKnownNonEqual, which does a KnownBits based check for integers, but not pointers.
So an alternative fix would be to adjust isKnownNonEqual() to handle this for pointers as well.
https://github.com/llvm/llvm-project/pull/115874
More information about the llvm-commits
mailing list