[PATCH] D92674: [TableGen] Cache the vectors of records returned by getAllDerivedDefinitions().

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 6 10:39:57 PST 2020


Paul-C-Anagnostopoulos added inline comments.


================
Comment at: llvm/include/llvm/TableGen/Record.h:37
 #include <string>
+#include <unordered_map>
 #include <utility>
----------------
Remove this include.


================
Comment at: llvm/lib/TableGen/Record.cpp:2609
+}
+////  auto It = ClassRecordsMap.find(ClassNameString);
+////  if (It != ClassRecordsMap.end()) {
----------------
Remove these old lines.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92674/new/

https://reviews.llvm.org/D92674



More information about the llvm-commits mailing list