summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocPBQP.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-03 03:41:29 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-03 03:41:29 +0000
commit9a6382fc818e246fdb3addc9a60d78cce870ded6 (patch)
treeabc0c06115ed637160330750d6c59ea2b16693a7 /llvm/lib/CodeGen/RegAllocPBQP.cpp
parent739b107af8003d46138f0a3a153977a6dc671033 (diff)
downloadbcm5719-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/RegAllocPBQP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud