This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Improve selection of constants
ClosedPublic

Authored by Petar.Avramovic on Mar 14 2019, 9:09 AM.

Details

Summary

Certain 32 bit constants can be generated with a single instruction
instead of two. Implement materialize32BitImm function for MIPS32.

Diff Detail

Event Timeline

atanasyan accepted this revision.Mar 14 2019, 10:40 PM

Nice. LGTM

This revision is now accepted and ready to land.Mar 14 2019, 10:40 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2019, 12:10 AM