diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-04-21 18:02:42 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-04-21 18:02:42 +0000 |
commit | 8a070a540d66bf8bf45f1e52c6ec5c087b04395a (patch) | |
tree | 7d5b864634e366313cfb5880eada87653ffae937 /llvm/lib/Transforms/Utils/SSAUpdater.cpp | |
parent | 6db6ce4fe4acdb6f3dc89121968ff4bb93f2a631 (diff) | |
download | llvm-8a070a540d66bf8bf45f1e52c6ec5c087b04395a.zip llvm-8a070a540d66bf8bf45f1e52c6ec5c087b04395a.tar.gz llvm-8a070a540d66bf8bf45f1e52c6ec5c087b04395a.tar.bz2 |
Add fast register allocator, enabled with -regalloc=fast.
So far this is just a clone of -regalloc=local that has been lobotomized to run
25% faster. It drops the least-recently-used calculations, and is just plain
stupid when it runs out of registers.
The plan is to make this go even faster for -O0 by taking advantage of the short
live intervals in unoptimized code. It should not be necessary to calculate
liveness when most virtual registers are killed 2-3 instructions after they are
born.
llvm-svn: 102006
Diffstat (limited to 'llvm/lib/Transforms/Utils/SSAUpdater.cpp')
0 files changed, 0 insertions, 0 deletions