HomePhabricator

[InstCombine] Demand bits of UMin

Description

[InstCombine] Demand bits of UMin

This is the umin alternative to the umax code from rL344237. We use
DeMorgans law on the umax case to bring us to the same thing on umin,
but using countLeadingOnes, not countLeadingZeros.

Differential Revision: https://reviews.llvm.org/D53036

Details

Committed
dmgreenOct 11 2018, 4:28 AM
Differential Revision
D53036: [InstCombine] Demand bits of UMin
Parents
rL344238: [RISCV] Re-generate test/CodeGen/RISCV/vararg.ll after r344142
Branches
Unknown
Tags
Unknown