Improve coalescing performance by using a FxHashMap (#340)

* Use FxHashMap instead of HashMap for better performance

* Replace the binary search in the coalescing pass with a FxHashMap

This speeds up coalescing by up to 16% and overall compilation by 9%
This commit is contained in:
Amanieu d'Antras
2018-05-18 23:40:08 +01:00
committed by Dan Gohman
parent 80fdfb2376
commit e9d362d902
6 changed files with 130 additions and 26 deletions

View File

@@ -95,6 +95,7 @@ mod constant_hash;
mod context;
mod dce;
mod divconst_magic_numbers;
mod fx;
mod iterators;
mod legalizer;
mod licm;