aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-12 07:04:32 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-12 07:04:32 +0000
commitb95fd2d5fd4818a601dd1df05f38863e3ca5c920 (patch)
treea60beeb425ea8088ae82d50a52cf9f99e10b47cd /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parentbf710cc23ed7a3cd3e114e122cf0f11a033d23b1 (diff)
Tweak hash function and compress hash tables.
Make the hash tables as small as possible while ensuring that all lookups can be done in less than 8 probes. Cut the aliases hash table in half by only storing a < b pairs - it is a symmetric relation. Use larger multipliers on the initial hash function to ensure that it properly covers the whole table, and to resolve some clustering in the very regular ARM register bank. This reduces the size of most of these tables by 4x - 8x. For instance, the ARM tables shrink from 48 KB to 8 KB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions