This is an archive of the discontinued LLVM Phabricator instance.

[mips] Use RegisterMCAsmBackend to register all MIPS asm backends. NFC
ClosedPublic

Authored by atanasyan on Sep 6 2017, 7:53 AM.

Details

Summary

This change converts the MipsAsmBackend constructor to the "standard" form. It makes possible to use RegisterMCAsmBackend for the backends registrations. Now we pass Triple instance to the MipsAsmBackend ctor and deduce all required options like endianness and bitness from the triple. We still need to implement explicit ABI checking for providing correct options to backends.

Diff Detail

Repository
rL LLVM

Event Timeline

atanasyan created this revision.Sep 6 2017, 7:53 AM
sdardis accepted this revision.Sep 7 2017, 5:05 AM

LGTM.

This revision is now accepted and ready to land.Sep 7 2017, 5:05 AM
This revision was automatically updated to reflect the committed changes.