Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by john-h-k

21 hours ago

Very few compilers actually use vertex coloring for register allocation

2 comments

john-h-k

Reply

isaacimagine  21 hours ago

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!).

NooneAtAll3  18 hours ago

and this post isn't even about vertex coloring

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities