[llvm] [InstCombine] Fold `(select (icmp eq (and x, y), 0), (add/xor x, y), F)` (PR #121841)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 08:33:01 PST 2025


goldsteinn wrote:

> My 2c is that as this case requires additional code to support a specific pattern, and we have no evidence this pattern exists in the wild, we should not support it.

Ill benchmark it, if nothing I will drop.

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


More information about the llvm-commits mailing list