[llvm] [RISCV] Optimize (and (icmp x, 0, neq), (icmp y, 0, neq)) utilizing zicond extension (PR #166469)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 6 12:20:30 PST 2025
topperc wrote:
I think I'm struggling to see why we can't just do a late DAGCombine on an AND where one operand is a setcc eq/ne and the other operand can only produce 0/1 according to computeKnownBits. If that condition holds, create CZERO_EQZ/NEZ.
https://github.com/llvm/llvm-project/pull/166469
More information about the llvm-commits
mailing list