[all-commits] [llvm/llvm-project] c62eef: [nfc][codegen] Move RegisterBank[Info].cpp under C...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Tue Feb 15 11:27:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c62eefb8863e00c3314792343b4101f0c8f755fb
https://github.com/llvm/llvm-project/commit/c62eefb8863e00c3314792343b4101f0c8f755fb
Author: Mircea Trofin <mtrofin at google.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
R llvm/lib/CodeGen/GlobalISel/RegisterBank.cpp
R llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
A llvm/lib/CodeGen/RegisterBank.cpp
A llvm/lib/CodeGen/RegisterBankInfo.cpp
Log Message:
-----------
[nfc][codegen] Move RegisterBank[Info].cpp under CodeGen
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).
Differential Revision: https://reviews.llvm.org/D119053
More information about the All-commits
mailing list