HomePhabricator

[InstCombine] Replace selects with Phis

Authored by mkazantsev on Mon, Jun 22, 9:46 PM.

Description

[InstCombine] Replace selects with Phis

We can sometimes replace a select with a Phi node if all of its values
are available on respective incoming edges.

Differential Revision: https://reviews.llvm.org/D82005
Reviewed By: nikic

Details

Committed
mkazantsevMon, Jun 22, 10:12 PM
Reviewer
nikic
Differential Revision
D82005: [InstCombine] Replace selects with Phis
Parents
rGb1360caa823d: [SDAG] Add new AssertAlign ISD node.
Branches
Unknown
Tags
Unknown