Second-chance binpacking
A register allocator in the linear-scan family where a value spilled to memory can win a register back later on.
Omri Traub, Glenn Holloway and Michael D. Smith at Harvard presented it at PLDI 1998 under the title Quality and Speed in Linear-scan Register Allocation. The allocator walks the code in a single order and hands out registers the way a packer fills bins. Two ideas set it apart from a naive sweep: live intervals may have holes where the value isn't needed, and a value once forced out to the stack doesn't lose its register for good. If it's needed again and a register is free, it gets loaded back in and carries on from there — the second chance.
The price is a clean-up pass. Since the same value can sit in different registers in different parts of the function, move instructions have to be inserted at block boundaries where the paths disagree. The result came close to graph colouring in code quality at a fraction of the compile time, and the idea of splitting live intervals carried over into later linear-scan allocators.