[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
Mon Jul 14 02:07:25 PDT 2025


bababuck wrote:

Rebased to latest ` main` and dropped `lshr/ashr/shl` support (to be added in in separate MR).

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


More information about the llvm-commits mailing list