Page MenuHomePhabricator

[SimplifyCFG] Delay phi-to-select until the end of module simplification
Changes PlannedPublic

Authored by john.brawn on Aug 14 2018, 10:10 AM.

Details

Reviewers
javed.absar
Summary

Converting a phi to select can prevent some function simplification optimizations from happening (e.g. both GVN and GVNHoist can understand phis but not selects) so it's worthwhile to delay doing this conversion until after these optimisations have happened.

Diff Detail