[PATCH] D68866: [MIPS GlobalISel] Refactor MipsRegisterBankInfo [NFC]

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 05:35:47 PDT 2019


Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, jrtc27, arichardson, rovka, sdardis.
Herald added a project: LLVM.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D68866

Files:
  lib/Target/Mips/MipsRegisterBankInfo.cpp
  lib/Target/Mips/MipsRegisterBankInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68866.224573.patch
Type: text/x-patch
Size: 17482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191011/b5c46a96/attachment.bin>


More information about the llvm-commits mailing list