This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Support for folding G_ROTR as shifted operands.
ClosedPublic

Authored by aemerson on Sep 2 2021, 4:58 PM.

Details

Summary

This allows selection like: eor w0, w1, w2, ror #8

Saves 500 bytes on ClamAV -Os, which is 0.1%.

Diff Detail

Event Timeline

aemerson created this revision.Sep 2 2021, 4:58 PM
aemerson requested review of this revision.Sep 2 2021, 4:58 PM
paquette accepted this revision.Sep 2 2021, 5:32 PM

LGTM

This revision is now accepted and ready to land.Sep 2 2021, 5:32 PM
This revision was landed with ongoing or failed builds.Sep 2 2021, 9:37 PM
This revision was automatically updated to reflect the committed changes.