diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-22 20:59:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-22 20:59:30 +0000 |
commit | a411cbca5c081f0813ff507901be412903894423 (patch) | |
tree | 4ef3701b8322dd1bec842e0d2103cb897f57a3b5 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | a6c1750362ffb5e8c5b5b5232442cd4c49eafdc8 (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/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions