| ▲ | hansvm 10 hours ago | |||||||
Compilers have a ton of hard optimization passes, and many of those are solved well enough via stochastic algorithms. Nobody actually fully optimizes register allocation or whatever, and a few random restarts can go a long way toward some better performance. | ||||||||
| ▲ | saghm an hour ago | parent | next [-] | |||||||
Every professional compiler I've ever used has given me the ability to choose what optimization level to use. No professional LLM I've ever used has given me any choice whatsoever to modify the temperature. | ||||||||
| ▲ | leonidasrup 5 hours ago | parent | prev [-] | |||||||
No compiler does optimal register allocation, because optimal register allocation is an NP-complete problem. Chaitin et al.: "Register allocation via coloring". | ||||||||
| ||||||||