[PATCH] D37957: [TableGen] Some simple optimizations to TableGen execution time

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 17 11:59:27 PDT 2017


craig.topper added inline comments.


================
Comment at: llvm/utils/TableGen/CodeGenDAGPatterns.h:43
+  struct TypeSetByHwMode : public InfoByHwMode<DenseSet<MVT>> {
+    typedef DenseSet<MVT> SetType;
+
----------------
I wonder if we could use std::bitset. The MVT enum only contains 255 values.


https://reviews.llvm.org/D37957





More information about the llvm-commits mailing list