commit | fb147dee9d54c7905df5a61539112edc1d5d3a90 | [log] [tgz] |
---|---|---|
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | Thu Nov 22 14:48:53 2018 +0000 |
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | Thu Nov 22 14:48:53 2018 +0000 |
tree | 6f99ce14fb5074805f91f4d262a2ab534f1e84a3 | |
parent | ab518ce813dd9c2de4467331a2cf00acdeb90df7 [diff] |
[llvm-mca] Use a SmallVector instead of std::vector to track register reads/writes. NFCI This avoids a heap allocation most of the times. This patch gives a small but consistent 3% speedup on a release build (up to ~5% on a debug build). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347464 91177308-0d34-0410-b5e6-96231b3b80d8