Fix a compile time regression caused by too small hash tables.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 14 Jun 2011 16:58:16 +0000 (16:58 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 14 Jun 2011 16:58:16 +0000 (16:58 +0000)
commit952036def97bbf3f26cb963f12f64cda281feffd
treeb0dcf6ede773debd7395599ab763d0fb273b4444
parentf924dea8ddb74df8d591f8fdc409fc5b8b5e10d4
Fix a compile time regression caused by too small hash tables.

Measure the worst case number of probes for a miss instead of the less
conservative number of probes required for an insertion.

Lower the limit to < 6 probes worst case.

This doubles the size of the ARM and X86 hash tables, other targets are
unaffected. LiveVariables runs 12% faster with this change.

<rdar://problem/9598545>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132999 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/RegisterInfoEmitter.cpp