[PATCH] D70300: GlobalISel: Add type argument to getRegBankFromRegClass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 03:09:09 PST 2019


arsenm created this revision.
arsenm added reviewers: dsanders, aditya_nandakumar, aemerson, paquette.
Herald added subscribers: Petar.Avramovic, volkan, atanasyan, hiraditya, tpr, rovka, nhaehnle, wdng, jvesely, sdardis.
Herald added a project: LLVM.

AMDGPU can't unambiguously go back from the selected instruction
register class to the register bank without knowing if this was used
in a boolean context.


https://reviews.llvm.org/D70300

Files:
  llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
  llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
  llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
  llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
  llvm/lib/Target/ARM/ARMRegisterBankInfo.cpp
  llvm/lib/Target/ARM/ARMRegisterBankInfo.h
  llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
  llvm/lib/Target/Mips/MipsRegisterBankInfo.h
  llvm/lib/Target/X86/X86RegisterBankInfo.cpp
  llvm/lib/Target/X86/X86RegisterBankInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70300.229491.patch
Type: text/x-patch
Size: 11164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191115/ed7d5ca3/attachment.bin>


More information about the llvm-commits mailing list