Page MenuHomePhabricator

[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

Repository
rL LLVM

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