commit | 36d61863bc83bd2301e0224adc560098b35ec0dc | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Mar 03 03:41:29 2011 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Mar 03 03:41:29 2011 +0000 |
tree | f263712c35c5e76d30493c5b80e9bfe9175d2099 | |
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