[PATCH] D27807: [globalisel] Initialize RegisterBanks with static data. Part 1 of 2.
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 15 07:31:43 PST 2016
dsanders created this revision.
dsanders added reviewers: qcolombet, t.p.northover, ab, rovka.
dsanders added a subscriber: llvm-commits.
Herald added subscribers: dberris, vkalintiris.
This patch is the first step in refactoring the RegisterBank to a static
table. This patch marks addRegBankCoverage() as unreachable and requires
GlobalISel implementations to rewrite this call into setRegBankMaxSize()
and setRegBankCoverage() calls. addRegBankCoverage() emits all the information
you need to do this rewrite just before calling llvm_unreachable().
The next patch will drop addRegBankCoverage() and move the data to a
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12523 bytes
Desc: not available
More information about the llvm-commits