[llvm] [InstCombine] Fold `select (a == b | other_cond), a, b` to `select (other_cond), a, b` (PR #76203)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 22 11:41:09 PST 2023


https://github.com/nikic commented:

It should be possible to generalize the fold via simplifyWithOpReplaced(), but this seems like a reasonable starting point.

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


More information about the llvm-commits mailing list