[PATCH] D27457: [globalisel] Tablegen-erate PartialMapping*/ValueMapping*/BankIDToCopyMapIdx.

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 08:04:37 PST 2016


dsanders created this revision.
dsanders added reviewers: ab, qcolombet, t.p.northover.
dsanders added a subscriber: llvm-commits.
dsanders added a dependency: D27339: [globalisel][aarch64] Make getCopyMapping() take register banks ID's rather than IsGPR booleans.
Herald added subscribers: rovka, dberris, vkalintiris.

Note that the order of register banks in the tables swaps as a result. This has
no effect on behaviour because of the fixes in r288812. Also, a couple fields
are not controllable from the .td files because there's no variety in the
current values (NumBreakDowns of RegisterBankInfo::ValueMapping is always 1,
and StartIdx of RegisterBankInfo::PartialMapping, is always 0).

Depends on https://reviews.llvm.org/D27339


https://reviews.llvm.org/D27457

Files:
  lib/Target/AArch64/AArch64GenRegisterBankInfo.def
  lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  utils/TableGen/RegisterBankEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27457.80420.patch
Type: text/x-patch
Size: 10443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161206/5fa9a6d1/attachment.bin>


More information about the llvm-commits mailing list