discovered 03 Aug 2026
ml-compiler-opt
→ View on GitHubMLGO is a framework that integrates machine learning techniques into the LLVM compiler infrastructure, replacing traditional optimization heuristics with learned models. It currently supports optimizations for inlining-for-size and register-allocation-for-performance, utilizing Policy Gradient for training policies. Notable features include the ability to train custom models, support for pretrained models, and a high-performance local training setup.