aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-22 20:59:30 +0000
committerChris Lattner <sabre@nondot.org>2005-08-22 20:59:30 +0000
commita411cbca5c081f0813ff507901be412903894423 (patch)
tree4ef3701b8322dd1bec842e0d2103cb897f57a3b5 /lib/CodeGen/LiveVariables.cpp
parenta6c1750362ffb5e8c5b5b5232442cd4c49eafdc8 (diff)
Try to avoid scanning the fixed list. On architectures with a non-stupid
number of regs (e.g. most riscs), many functions won't need to use callee clobbered registers. Do a speculative check to see if we can get a free register without processing the fixed list (which has all of these). This saves a lot of time on machines with lots of callee clobbered regs (e.g. ppc and itanium, also x86). This reduces ppc llc compile time from 184s -> 172s on kc++. This is probably worth FAR FAR more on itanium though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions