[PATCH] D64269: [MIPS GlobalISel] Register bank select for G_LOAD. Select i64 load
Simon Atanasyan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 6 06:59:21 PDT 2019
atanasyan accepted this revision.
atanasyan added a comment.
This revision is now accepted and ready to land.
LGTM with a nit
================
Comment at: lib/Target/Mips/MipsRegisterBankInfo.cpp:335
+ unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
+ unsigned InstTy = InstType::Integer;
+ if (!MRI.getType(MI.getOperand(0).getReg()).isPointer()) {
----------------
Is it possible to use `InstType` instead of `unsigned` here?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64269/new/
https://reviews.llvm.org/D64269
More information about the llvm-commits
mailing list