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 | 834a2316a30b299063151e666ca8ad61e5accc4f (patch) | |
| tree | f5b7a193c6e322bb812d911574002b4b1b041b6f /llvm/lib/Target/TargetMachineRegistry.cpp | |
| parent | 95a157ae1a354df0a0dcbeedc3bdd3c7ee74bfc2 (diff) | |
| download | bcm5719-llvm-834a2316a30b299063151e666ca8ad61e5accc4f.tar.gz bcm5719-llvm-834a2316a30b299063151e666ca8ad61e5accc4f.zip | |
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.
llvm-svn: 22972
Diffstat (limited to 'llvm/lib/Target/TargetMachineRegistry.cpp')
0 files changed, 0 insertions, 0 deletions

