[PATCH] D27809: [globalisel] Move as much RegisterBank initialization to the constructor as possible
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 15 07:49:45 PST 2016
dsanders created this revision.
dsanders added reviewers: qcolombet, t.p.northover, ab, rovka.
dsanders added a subscriber: llvm-commits.
dsanders added a dependency: D27808: [globalisel] Initialize RegisterBanks with static data. Part 2 of 2..
Herald added subscribers: dberris, vkalintiris.
RegisterBank::finishInit() is only needed because TRI isn't available for
the static initializer. We can't deal with that yet but later on we can have
tablegen hard-code the register class count which will eliminate the need for
it.
Depends on https://reviews.llvm.org/D27808
https://reviews.llvm.org/D27809
Files:
include/llvm/CodeGen/GlobalISel/RegisterBank.h
include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
lib/CodeGen/GlobalISel/RegisterBank.cpp
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
lib/Target/AArch64/AArch64GenRegisterBankInfo.def
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27809.81581.patch
Type: text/x-patch
Size: 5254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161215/e888fff6/attachment-0001.bin>
More information about the llvm-commits
mailing list