[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
Mon Jan 9 02:42:19 PST 2017


dsanders updated this revision to Diff 83601.
dsanders added a comment.

Rebased onto new https://reviews.llvm.org/D27808.

Finished moving to TargetRegisterClass initialization style.

RegisterBanks are now expected to be valid immediately after construction and
finishInit() is no longer needed.


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
  lib/Target/ARM/ARMRegisterBankInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27809.83601.patch
Type: text/x-patch
Size: 7199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170109/e1abf27a/attachment.bin>


More information about the llvm-commits mailing list