This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Refactor MipsRegisterBankInfo [NFC]
ClosedPublic

Authored by Petar.Avramovic on Oct 11 2019, 5:30 AM.

Details

Summary

Check if size of operand LLT matches sizes of available register banks
before inspecting the opcode in order to reduce number of checks.
Factor commonly used pieces of code into functions.

Diff Detail

Event Timeline

This revision is now accepted and ready to land.Oct 12 2019, 12:47 AM
This revision was automatically updated to reflect the committed changes.