HomePhabricator

[InstCombine] reduce code for flip of masked bit; NFC

Authored by spatel on Nov 15 2020, 12:43 PM.

Description

[InstCombine] reduce code for flip of masked bit; NFC

There are 1-2 potential follow-up NFC commits to reduce
this further on the way to generalizing this for vectors.

The operand replacing path should be dead code because demanded
bits handles that more generally (D91415).

Details

Committed
spatelNov 15 2020, 12:43 PM
Parents
rGe56103d25016: [InstCombine] add multi-use demanded bits fold for add with low-bit mask
Branches
Unknown
Tags
Unknown