Hacker News new | ask | show | jobs
by john-h-k 395 days ago
Very few compilers actually use vertex coloring for register allocation
2 comments

Totally. The hard part isn't coloring (you can use simple heuristics to get a decent register assignment), rather, it's figuring out which registers to spill (don't spill registers in hot loops! and a million other things!).
and this post isn't even about vertex coloring