This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Don't use explicit zero registers for compare results.
ClosedPublic

Authored by aemerson on Oct 14 2020, 12:35 PM.

Details

Summary

These cause problems for later optimizations, just using an unused vreg like SelectionDAG generates better code in the end, and obviates the need for some GISel specific flag optimizations.

Diff Detail

Event Timeline

aemerson created this revision.Oct 14 2020, 12:35 PM
This revision is now accepted and ready to land.Oct 14 2020, 1:02 PM
This revision was landed with ongoing or failed builds.Oct 14 2020, 4:50 PM
This revision was automatically updated to reflect the committed changes.