Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
john-h-k
· 1y ago · 0 comments
Very few compilers actually use vertex coloring for register allocation
Comments
[–]
isaacimagine
1y 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
1y ago
and this post isn't even about vertex coloring