[llvm] [InstCombine] Fold `umax/umin(nuw_shl(base, x), nuw_shl(base, y)) -> nuw_shl(base, umax/umin(x, y))` (PR #131076)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 13 01:31:41 PDT 2025


nikic wrote:

It's worth noting that this variant is valid as well: https://alive2.llvm.org/ce/z/aqLRYA

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


More information about the llvm-commits mailing list