This is an archive of the discontinued LLVM Phabricator instance.

[aarch64][globalisel] Move getValueMapping/getCopyMapping to AArch64GenRegisterBankInfo. NFC.
ClosedPublic

Authored by dsanders on Dec 20 2016, 3:07 AM.

Details

Summary

We did lose a little specificity in the assertion messages for the
PartialMappingIdx enumerators in this change but this was necessary to
avoid unnecessary use of 'public:' and we haven't lost anything that
can't be discovered easily in lldb. Once this is tablegen-erated we could
also safely remove the assertions.

Depends on D27976

Event Timeline

dsanders updated this revision to Diff 82083.Dec 20 2016, 3:07 AM
dsanders retitled this revision from to [aarch64][globalisel] Move getValueMapping/getCopyMapping to AArch64GenRegisterBankInfo. NFC..
dsanders updated this object.
dsanders added reviewers: qcolombet, t.p.northover, ab, rovka.
dsanders added a subscriber: llvm-commits.
qcolombet accepted this revision.Dec 20 2016, 10:01 AM
qcolombet edited edge metadata.

LGTM.

lib/Target/AArch64/AArch64GenRegisterBankInfo.def
234

80-col

This revision is now accepted and ready to land.Dec 20 2016, 10:01 AM
dsanders updated this revision to Diff 84274.Jan 13 2017, 3:35 AM

Refresh before commit

dsanders closed this revision.Jan 13 2017, 4:01 AM