summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervals.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-09 01:26:13 +0000
committerChris Lattner <sabre@nondot.org>2004-02-09 01:26:13 +0000
commit490627a404a0cacfff36f4b0d2cf2a5906a04bc1 (patch)
tree2dcb1f2abf81390ff50583805e2aeac9538f117b /llvm/lib/CodeGen/LiveIntervals.cpp
parent2eaf58775e55042751d8e74d2fa2020c5b635855 (diff)
downloadbcm5719-llvm-490627a404a0cacfff36f4b0d2cf2a5906a04bc1.tar.gz
bcm5719-llvm-490627a404a0cacfff36f4b0d2cf2a5906a04bc1.zip
Change the PhysRegsUsed map into a dense array. Seeing that this is a mapping
from physical registers, and they are always dense, it makes sense to not have a ton of RBtree overhead. This change speeds up regalloclocal about ~30% on 253.perlbmk, from .35s -> .27s in the JIT (in LLC, it goes from .74 -> .55). Now live variable analysis is the slowest codegen pass. Of course it doesn't help that we have to run it twice, because regalloclocal doesn't update it, but even if it did it would be the slowest pass (now it's just the 2x slowest pass :( llvm-svn: 11215
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervals.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud