This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by aemerson on Jan 27 2020, 4:06 PM.

Details

Summary

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

Diff Detail

Event Timeline

aemerson created this revision.Jan 27 2020, 4:06 PM
This revision is now accepted and ready to land.Jan 28 2020, 9:10 AM
This revision was automatically updated to reflect the committed changes.