This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Take advantage of variable shift/rotate amount implicit mod operation.
ClosedPublic

Authored by gberry on May 14 2018, 1:11 PM.

Details

Summary

Optimize code generated for variable shifts/rotates by taking advantage
of the implicit and/mod done on the variable shift amount register.

Resolves bug 27582 and bug 37421.

Diff Detail

Repository
rL LLVM

Event Timeline

gberry created this revision.May 14 2018, 1:11 PM
t.p.northover accepted this revision.May 24 2018, 5:36 AM

I think this is fine.

This revision is now accepted and ready to land.May 24 2018, 5:36 AM
This revision was automatically updated to reflect the committed changes.