summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-24 00:09:02 +0000
committerChris Lattner <sabre@nondot.org>2005-08-24 00:09:02 +0000
commitff978b6d764d5318844b97cf65cdbd76393b119e (patch)
tree3bfc4752374faad5f9dc24de0c172b8a54f2ab58 /llvm/lib/CodeGen/LiveVariables.cpp
parent469652752c4159b4d8b12f93178ef8313189639e (diff)
downloadbcm5719-llvm-ff978b6d764d5318844b97cf65cdbd76393b119e.tar.gz
bcm5719-llvm-ff978b6d764d5318844b97cf65cdbd76393b119e.zip
Keep the killed/dead sets sorted, so that "KillsRegister" can do a quick
binary search to test for membership. This speeds up LLC a bit more on KC++, e.g. on itanium from 16.6974s to 14.8272s, PPC from 11.4926s to 10.7089s and X86 from 10.8128s to 9.7943s, with no difference in generated code (like all of the RA patches). With these changes, isel is the slowest pass for PPC/X86, but linscan+live intervals is still > 50% of the compile time for itanium. More work could be done, but this is the last for now. llvm-svn: 22993
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud