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

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 17 10:40:43 PDT 2017


zturner updated this revision to Diff 115580.
zturner added a comment.

Changed another `std::set` to a `DenseSet`, and changed a couple of sets to vectors.  This shaves off another couple of seconds, I'm now down from 45s (no patch) -> 26s (with patch), for a 1.73x combined speedup.


https://reviews.llvm.org/D37957

Files:
  llvm/include/llvm/ADT/DenseSet.h
  llvm/include/llvm/CodeGen/MachineValueType.h
  llvm/utils/TableGen/CodeGenDAGPatterns.cpp
  llvm/utils/TableGen/CodeGenDAGPatterns.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37957.115580.patch
Type: text/x-patch
Size: 27139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170917/5072e19f/attachment.bin>


More information about the llvm-commits mailing list