[PATCH] D145874: TableGen: Let getAllDerivedDefinitions() numeric order.
NAKAMURA Takumi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 21 05:59:28 PDT 2023
chapuni added a comment.
I have created D146519 <https://reviews.llvm.org/D146519> as an experiment.
@craig.topper I tried isolating anonymous defs from `RK::Defs`.
I gave up for now, since `seems TGParser::ParseDefm()` relies on lexical name of anonymous records.
As another experiment, I tried in `RK::getAllDerivedDefinitions()`
1. Extract and push anonymous defs as registration order.
2. Extract and push named defs from `RK::Defs` (as char order)
It worked. I could implement `RK::AnonDefs` as vector.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145874/new/
https://reviews.llvm.org/D145874
More information about the llvm-commits
mailing list