summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-23 23:40:41 +0000
committerChris Lattner <sabre@nondot.org>2005-08-23 23:40:41 +0000
commit9fa2f949aea8fe2f20e2afbab9eeb70e1fbec29d (patch)
tree57ac92727606cd2daeb8aab6bedb3171d6490d0f /llvm/lib/CodeGen/RegAllocLocal.cpp
parent774158239b97c9248d18e95b7789d2d09fe19ea4 (diff)
downloadbcm5719-llvm-9fa2f949aea8fe2f20e2afbab9eeb70e1fbec29d.tar.gz
bcm5719-llvm-9fa2f949aea8fe2f20e2afbab9eeb70e1fbec29d.zip
Change live variables from using multimaps to using maps of vectors and
rearrange some of the accessors to be more efficient. This makes it much more efficient to iterate over all of the things with the same value. This speeds up liveintervals analysis from 8.63s to 3.79s with a release build of llc on kc++ with -march=ia64. This also speeds up live var from 1.66s -> 0.87s as well, reducing total llc time from 20.1s->15.2s. This also speeds up other targets slightly, e.g. llc time on X86 from 16.84 -> 16.45s, and PPC from 17.64->17.03s. llvm-svn: 22990
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud