In current SelectionDAG::getVTList(), linear search used which is not efficient, especially for BC file with many types. This patch use a simple hashing to accelerate the type searching.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
What is the motivation for building your own hash table in here rather than using one of our existing structures? DenseSet<EVT, EVT> seems like it would work fine.