[llvm-dev] TableGen question

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 6 16:54:05 PDT 2020


A question for all you TableGen aficionados:

Does anyone know why the collection of RecordVal field values stored in a Record are represented by a SmallVector rather than some sort of map? This means that every time a record field is looked up by name, a linear search is performed.

Is it a question of RAM usage?




More information about the llvm-dev mailing list