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 | 9a6382fc818e246fdb3addc9a60d78cce870ded6 (patch) | |
tree | abc0c06115ed637160330750d6c59ea2b16693a7 /llvm/lib/CodeGen/ShrinkWrapping.cpp | |
parent | 739b107af8003d46138f0a3a153977a6dc671033 (diff) | |
download | bcm5719-llvm-9a6382fc818e246fdb3addc9a60d78cce870ded6.tar.gz bcm5719-llvm-9a6382fc818e246fdb3addc9a60d78cce870ded6.zip |
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.
llvm-svn: 126921
Diffstat (limited to 'llvm/lib/CodeGen/ShrinkWrapping.cpp')
0 files changed, 0 insertions, 0 deletions