[llvm] [SelectionDAG]: Deduce KnownNeverZero from SMIN and SMAX (PR #85722)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 08:12:20 PDT 2024


RKSimon wrote:

simplifySetCCWithCTPOP appears to use isKnownNeverZero for the `(ctpop x) eq/ne 1 --> (x & x-1) eq/ne 0` fold - maybe try that?

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


More information about the llvm-commits mailing list