commit | d6b95e9be384f19b570d2d30e34a49f913afab6d | [log] [tgz] |
---|---|---|
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | Fri Aug 03 12:55:28 2018 +0000 |
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | Fri Aug 03 12:55:28 2018 +0000 |
tree | bf1d2f07179636f948341eaa5ae28914e162188b | |
parent | 1a16c79be030215a94763e252c330c4fe6b4f4f1 [diff] |
[llvm-mca] Speed up the computation of the wait/ready/issued sets in the Scheduler. This patch is a follow-up to r338702. We don't need to use a map to model the wait/ready/issued sets. It is much more efficient to use a vector instead. This patch gives us an average 7.5% speedup (on top of the ~12% speedup obtained after r338702). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338883 91177308-0d34-0410-b5e6-96231b3b80d8