Lune

ACL Findings2026

HintPilot: LLM-based Compiler Hint Synthesis for Code Optimization

Hanyun Jiang, Peisen Yao, Kaiyue Li, Tingting Lin, Chengpeng Wang, Kui Ren

摘要

Code optimization remains a core objective in software development, yet modern compilers struggle to navigate the enormous optimization spaces. While recent research has looked into employing large language models (LLMs) to optimize source code directly, these techniques can introduce semantic errors and miss fine-grained compiler-level optimization opportunities. We present HINTPILOT, which bridges LLM-based reasoning with traditional compiler infrastructures via synthesizing compiler hints-annotations that steer compiler behavior.

HINTPILOT employs retrievalaugmented synthesis over compiler documentation and applies profiling-guided iterative refinement to synthesize semantics-preserving and effective hints. Upon PolyBench and HumanEval-CPP benchmarks, HINTPILOT achieves up to 6.88× geometric mean speedup over -Ofast while preserving program correctness. Our code is available at https: //github.com/ZJU-PL/hintpilot.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Language Models are Few-Shot Learners
  • Learning Performance-Improving Code Edits 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper10

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  3. Learning Performance-Improving Code EditsAlexander Shypula, Aman Madaan, Yimeng Zeng, Uri Alon 等ICLR 2024 · 141 次引用
  4. DeepDev-PERF: a deep learning-based approach for improving software performanceSpandan Garg, Roshanak Zilouchian Moghaddam, Colin B. Clement, Neel Sundaresan 等FSE 2022 · 23 次引用
  5. SpecRover: Code Intent Extraction via LLMsHaifeng Ruan, Yuntong Zhang, Abhik RoychoudhuryICSE 2025 · 12 次引用

相关 Paper

  1. PILOT: Planning via Internalized Latent Optimization Trajectories for Large Language ModelsHaoyu Zheng, Yun Zhu, Yuqian Yuan, Bo Yuan 等ACL 2026 · 1 次引用
  2. PerfCoder: Large Language Models for Interpretable Code Performance OptimizationJiuding Yang, Shengyao Lu, Hongxuan Liu, Shayan Shirahmad Gale Bagi 等ACL Findings 2026
  3. CIRBench: Evaluating Large Language Models as LLVM IR OptimizersZi Yang, Haifeng Ding, Fei Liu, Yingying Cheng 等ICML 2026
  4. LOOPRAG: Enhancing Loop Transformation Optimization with Retrieval-Augmented Large Language ModelsYijie Zhi, Yayu Cao, Jianhua Dai, Xiaoyang Han 等ASPLOS 2026 · 1 次引用
  5. LLM-based API Argument Completion with Knowledge-Augmented PromptsWaseem Akram, Yanjie Jiang, Haris Ali Khan, Furqan Jalil 等ICSE 2026
黄昏的海面,两侧是细线勾勒的悬崖