[PATCH] D88832: [TableGen] Add new getAllDerivedDefinitionsTwo function to RecordKeeper
Paul C. Anagnostopoulos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 5 06:30:01 PDT 2020
Paul-C-Anagnostopoulos created this revision.
Paul-C-Anagnostopoulos added reviewers: lattner, madhur13490, SuJunda, asb.
Herald added subscribers: llvm-commits, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
Herald added a project: LLVM.
Paul-C-Anagnostopoulos requested review of this revision.
Herald added a subscriber: MaskRay.
I added the new RecordKeeper::getAllDerivedDefinitionsTwo function, as documented in the "TableGen Backend Developer's Guide." This is used in the pseudo lowering backend.
I noticed that the RISC V Compress Inst emitter didn't use getAllDerivedDefinitions(), so I modified it to do so.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88832
Files:
llvm/docs/TableGen/BackGuide.rst
llvm/include/llvm/TableGen/Record.h
llvm/lib/TableGen/Record.cpp
llvm/utils/TableGen/PseudoLoweringEmitter.cpp
llvm/utils/TableGen/RISCVCompressInstEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88832.296171.patch
Type: text/x-patch
Size: 4819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201005/7aed6336/attachment.bin>
More information about the llvm-commits
mailing list