[PATCH][Review Requested][Compilation Time] Speed up SelectionDAG by hashing according to the node type

Gurd, Preston preston.gurd at intel.com
Tue Jan 29 15:29:51 PST 2013


Instead of deriving the selection DAG node class from the FoldingSetNode class, this patch derives it from the new SDNodeItem and SDNodeSet classes.

The purpose of the change is to be able to calculate the CSEMap hash table entries faster, by using a hash based on the node itself, rather than by using the hash function of FoldingSetNode.

Patch by Wan Xiaofei.

PLEASE REVIEW. Thanks!

--
Preston Gurd <preston.gurd at intel.com>
  Intel Waterloo
  SSG/DPD/ECDL/DMP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130129/cc149647/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CSEMap.patch
Type: application/octet-stream
Size: 63857 bytes
Desc: CSEMap.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130129/cc149647/attachment.obj>


More information about the llvm-commits mailing list