mlsanityData to 14 Oct 2026

Magellan: Autonomous Discovery of Novel Compiler Optimization Heuristics with AlphaEvolve

arXiv 2601.21096 ↗First posted 28 Jan 2026cs.AI cs.LG cs.PLcited by 5

Not on the map. Why?

Abstract (arXiv)

Modern compilers rely on hand-crafted heuristics to guide optimization passes. These human-designed rules often struggle to adapt to the complexity of modern software and hardware and lead to high maintenance burden. To address this challenge, we present Magellan, an agentic framework that evolves the compiler pass itself by synthesizing executable C++ decision logic. Magellan couples an LLM coding agent with evolutionary search and autotuning in a closed loop of generation, evaluation on user-provided macro-benchmarks, and refinement, producing compact heuristics that integrate directly into existing compilers. Across several production optimization tasks, Magellan discovers policies that match or surpass expert baselines. In LLVM function inlining, Magellan synthesizes new heuristics that outperform decades of manual engineering for both binary-size reduction and end-to-end performance. In register allocation, it learns a concise priority rule for live-range processing that matches intricate human-designed policies on a large-scale workload. We also report preliminary results on XLA problems, demonstrating portability beyond LLVM with reduced engineering effort.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 23 of its 50 references that are in the map. First posted on arXiv 28 Jan 2026.

Builds on

23 of 50 references.

References · 23

  1. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  2. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
  3. 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 276
  4. 2025ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolutioncited by 174
  5. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimizationcited by 56
  6. 2025Barbarians at the Gate: How AI is Upending Systems Researchcited by 54
  7. 2023Large Language Models for Compiler Optimizationcited by 52
  8. 2018Structured Evolution with Compact Architectures for Scalable Policy Optimizationcited by 48
  9. 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Researchcited by 41
  10. 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 39
  11. 2020Instead of Rewriting Foreign Code for Machine Learning, Automatically Synthesize Fast Gradientscited by 27
  12. 2025HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimizationcited by 21
11 more
  1. 2024Allo: A Programming Model for Composable Accelerator Designcited by 16
  2. 2025Autonomous Code Evolution Meets NP-Completenesscited by 15
  3. 2019AutoPhase: Compiler Phase-Ordering for High Level Synthesis with Deep Reinforcement Learningcited by 12
  4. 2023Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Trainingcited by 11
  5. 2024PartIR: Composing SPMD Partitioning Strategies for Machine Learningcited by 10
  6. 2022MLGOPerf: An ML Guided Inliner to Optimize Performancecited by 9
  7. 2025Agentic Operator Generation for ML ASICscited by 7
  8. 2025Tawa: Automatic Warp Specialization for Modern GPUs with Asynchronous Referencescited by 6
  9. 2025Dato: A Task-Based Programming Model for Dataflow Acceleratorscited by 5
  10. 2025Optimal Software Pipelining and Warp Specialization for Tensor Core GPUscited by 5
  11. 2025e-boost: Boosted E-Graph Extraction with Adaptive Heuristics and Exact Solvingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024CompilerDream: Learning a Compiler World Model for General Code Optimization
  2. 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuning
  3. 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimization
  4. 2025AwareCompiler: Agentic Context-Aware Compiler Optimization via a Synergistic Knowledge-Data Driven Framework
  5. 2026Prior Knowledge or Search? A Study of LLM Agents in Hardware-Aware Code Optimization
  6. 2026WarmTuner: Program-Specific Warm Starts for Compiler Autotuning via Offline-to-Online Reinforcement Learning ↗
  7. 2026ECCO: Evidence-Driven Causal Reasoning for Compiler Optimization
  8. 2026HintPilot: LLM-based Compiler Hint Synthesis for Code Optimization