mlsanityData to 14 Oct 2026

AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuning

arXiv 2606.20373 ↗First posted 18 Jun 2026cs.SE cs.AIcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Large Language Models (LLMs) show promise for code compilation tasks, but applying them to runtime performance tuning is difficult due to complex microarchitectural effects and noisy runtime measurements. We present AutoPass, a multi-agent framework for compiler performance tuning that uses compiler and runtime evidence to guide LLM-generated optimization decisions. Rather than treating the compiler as a black box like prior auto-tuning schemes, AutoPass opens up the compiler to the LLM, enabling it to query compiler-internal optimization states and analyze the intermediate representation to orchestrate compiler options. The search process iteratively refines optimization configurations using measured runtime feedback to diagnose regressions and guide latency-improving edits. AutoPass operates in an inference-only, training-free setting and requires no offline training or task-specific fine-tuning, making it readily applicable to new benchmarks and platforms. We implement AutoPass on the LLVM compiler and evaluate it on server-grade x86-64 and embedded ARM64 systems. AutoPass outperforms expert-tuned heuristics and classical autotuning methods, achieving geometric-mean speedups of 1.043x and 1.117x over LLVM -O3 on x86-64 and ARM64, respectively.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 46 references that are in the map. First posted on arXiv 18 Jun 2026.

Builds on

19 of 46 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025AwareCompiler: Agentic Context-Aware Compiler Optimization via a Synergistic Knowledge-Data Driven Framework13 Oct
  2. 2025Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning30 May
  3. 2025CompileAgent: Automated Real-World Repo-Level Compilation with Tool-Integrated LLM-based Agent System7 May
  4. 2025CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code Generation14 Jan
  5. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar

Other references · 14

  1. 2025Qwen3 Technical Reportcited by 8,820
  2. 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Researchcited by 41
  3. 2018A Survey on Compiler Autotuning using Machine Learningcited by 40
  4. 2021MLGO: a Machine Learning Guided Compiler Optimizations Frameworkcited by 40
  5. 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 39
  6. 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assemblycited by 28
  7. 2024Search-Based LLMs for Code Optimizationcited by 28
  8. 2024LLM-Vectorizer: LLM-based Verified Loop Vectorizercited by 25
  9. 2019AutoPhase: Compiler Phase-Ordering for High Level Synthesis with Deep Reinforcement Learningcited by 12
  10. 2024The First Prompt Counts the Most! An Evaluation of Large Language Models on Iterative Example-Based Code Generationcited by 7
  11. 2025ResTest: Targeted Coverage of Residual Not-Covered Code Using Large Language Models for Web GUI Testingcited by 7
  12. 2024WaDec: Decompiling WebAssembly Using Large Language Modelcited by 5
2 more
  1. 2020A Collaborative Filtering Approach for the Automatic Tuning of Compiler Optimisationscited by 4
  2. 2014Hardware Counted Profile-Guided Optimizationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimization
  2. 2026Archer: Towards Agentic Review for Compiler Optimizations
  3. 2023Large Language Models for Compiler Optimization
  4. 2026Understanding Agent-Based Patching of Compiler Missed Optimizations
  5. 2024Should AI Optimize Your Code? A Comparative Study of Classical Optimizing Compilers Versus Current Large Language Models
  6. 2026LiteCoOp: Lightweight Multi-LLM Shared-Tree Reasoning for Model-Serving Compiler Optimizations
  7. 2026Magellan: Autonomous Discovery of Novel Compiler Optimization Heuristics with AlphaEvolve
  8. 2026Prior Knowledge or Search? A Study of LLM Agents in Hardware-Aware Code Optimization