[PATCH] D119053: [nfc][codegen] Move RegisterBank[Info].cpp under CodeGen

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 4 20:40:22 PST 2022


mtrofin created this revision.
mtrofin added a reviewer: qcolombet.
Herald added subscribers: hiraditya, mgorny.
mtrofin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Layering-wise, it seems RegisterBank stuff fits under CodeGen, like
other target abstraction.
In particular, TargetSubtargetInfo has a getRegBankInfo member, but
using that object requires making sure GlobalISel is linked, which is
not always the case (e.g. llvm-jitlink doesn't).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119053

Files:
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
  llvm/lib/CodeGen/GlobalISel/RegisterBank.cpp
  llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
  llvm/lib/CodeGen/RegisterBank.cpp
  llvm/lib/CodeGen/RegisterBankInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119053.406150.patch
Type: text/x-patch
Size: 37032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220205/90bd0ab8/attachment.bin>


More information about the llvm-commits mailing list