Understanding Agent-Based Patching of Compiler Missed Optimizations
Not on the map. Why?
Abstract (arXiv)
Compiler missed optimizations refer to cases in which compilers failed to optimize certain code. It takes many compiler developers' efforts to implement or patch such missed optimizations. In this paper, we present a systematic study of how well agents patch compiler missed optimizations. We identify a significant challenge that patching a missed optimization requires more than just fixing the reported case, and instead requires generalizing to similar cases. We construct a benchmark of real-world LLVM missed optimization issues and compare agent-generated patches with patches from developers in terms of optimization scope. Our results show that coding agents often optimize the given examples, but many generated patches either cover only part of the developer-intended scope or partially overlap with it; in some cases, they further generalize beyond the reference patch. We further introduce historical-knowledge augmentation techniques that leverage prior LLVM optimization pull requests through retrieval and distillation, showing that they improve developer-aligned generalization and yield practical benefits when applied to real-world IR.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 37 references that are in the map. First posted on arXiv 2 Jul 2026.
Builds on
15 of 37 references.
References · 15
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
- 2026Kimi K2.5: Visual Agentic Intelligencecited by 501
- 2019Getafix: Learning to Fix Bugs Automaticallycited by 41
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
- 2025PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verificationcited by 22
- 2017Identifying Patch Correctness in Test-Based Program Repaircited by 17
- 2017Souper: A Synthesizing Superoptimizercited by 12
3 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Can Coding Agents Implement Missed Compiler Optimizations? Evaluating LLM Agents on LLVM Peephole Optimizations
- 2026Archer: Towards Agentic Review for Compiler Optimizations
- 2025AwareCompiler: Agentic Context-Aware Compiler Optimization via a Synergistic Knowledge-Data Driven Framework
- 2026PERFOPT-Bench: Evaluating Coding Agents on Software Performance Optimization
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuning
- 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimization
- 2026Prior Knowledge or Search? A Study of LLM Agents in Hardware-Aware Code Optimization
- 2026HintPilot: LLM-based Compiler Hint Synthesis for Code Optimization