This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Prefer "mov" over "orr" to materialize constants.
ClosedPublic

Authored by efriedma on Mar 22 2019, 3:03 PM.

Details

Summary

This is generally more readable due to the way the assembler aliases work.

(This causes a lot of test changes, but it's not really as scary as it looks at first glance. It's just mechanically changing a bunch of checks for orr to check for mov instead.)

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma created this revision.Mar 22 2019, 3:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2019, 3:03 PM
t.p.northover accepted this revision.Mar 24 2019, 7:53 AM

Looks fine to me.

This revision is now accepted and ready to land.Mar 24 2019, 7:53 AM
This revision was automatically updated to reflect the committed changes.