Skip to content
  • Jakob Stoklund Olesen's avatar
    Add fast register allocator, enabled with -regalloc=fast. · 8a070a54
    Jakob Stoklund Olesen authored
    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
    8a070a54
Loading