HomePhabricator

[MIPS GlobalISel] Improve reg bank handling in MipsInstructionSelector

Authored by Petar.Avramovic on Nov 1 2019, 5:24 AM.

Description

[MIPS GlobalISel] Improve reg bank handling in MipsInstructionSelector

Introduce helper methods and refactor pieces of code related to
register banks in MipsInstructionSelector.
Add a few detailed asserts in order to get a better overview
of LLT, register bank combinations that are supported at the moment
and reduce need to look at other files.

Differential Revision: https://reviews.llvm.org/D69663

Details