[llvm] [InstCombine] Optimize (select %x, op(%x), 0) to op(%x) for operations where op(0) == 0 (PR #147605)

Ryan Buchner via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 15:49:18 PDT 2025


bababuck wrote:

Rebased to latest `main` added test for commuted cases of `and` and `mul`

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


More information about the llvm-commits mailing list