diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-03 03:41:29 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-03 03:41:29 +0000 |
commit | 36d61863bc83bd2301e0224adc560098b35ec0dc (patch) | |
tree | f263712c35c5e76d30493c5b80e9bfe9175d2099 /lib/CodeGen/LiveInterval.cpp | |
parent | f27a40a9717c019fd07990483fb475b544bc895e (diff) |
Cache basic block bounds instead of asking SlotIndexes::getMBBRange all the time.
This speeds up the greedy register allocator by 15%.
DenseMap is not as fast as one might hope.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
0 files changed, 0 insertions, 0 deletions