HomePhabricator

[AArch64][GlobalISel] Don't bail out of the select(cmp(a, b)) -> csel…

Authored by aemerson on Jan 27 2020, 3:57 PM.

Description

[AArch64][GlobalISel] Don't bail out of the select(cmp(a, b)) -> csel optimization with multiple users.

It can still be beneficial to do the optimization if the result of the compare
is used by *another* select.

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