froydnj added a comment.
FWIW, an in-progress tree for the proposed move for all the
architecture-specific builtins is:
https://github.com/froydnj/llvm-project/tree/move-builtins-to-tablegen
I don't know if the ARM/NEON/SVE builtins will be easily movable. It looks
like they are separately ge
craig.topper added inline comments.
Comment at: llvm/include/llvm/TableGen/Record.h:1777
/// string manipulation.
struct LessRecordByID {
bool operator()(const Record *LHS, const Record *RHS) const {
Here’s the sort predicate for it.
Repository:
rG LLVM
craig.topper added a comment.
Every Record has an ID that is assigned in order. You can just sort the Records
based on that in your emitter
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82388/new/
https://reviews.llvm.org/D82388
___