Mon 15 Jun 2026 14:10 - 14:32 at Flatirons 3 - Session 1: Advanced Compiler Tuning Chair(s): Myeonggyun Han

The phase-ordering problem—finding optimal pass sequence—remains NP-hard. While recent RL approaches have shown improved results, they impose heavy per-input search costs. We introduce RAPO, a retrieval-augmented phase-ordering framework that replaces online RL exploration with similarity-based retrieval. Offline, RAPO embeds LLVM IR with IR‑BERT, clusters programs via k-means, and stores each cluster’s representative RL‑discovered pass sequences in a sequence cache. During compilation, a new program is embedded, mapped into its nearest cluster, and optimized by retrieving the cached sequence, thereby transforming “per-program search“ into “similarity-based retrieval.“ RAPO is model-agnostic (compatible with PPO, DQN, and ε-greedy, etc.) and includes lightweight fallbacks for corner cases. RAPO achieves up to ~18.6% of IR instruction count reduction over -Oz, matching or outperforming RL baselines, while reducing phase-ordering search overhead up to ~177x. These results suggest that RAPO delivers near–per‑input quality with deployment‑grade efficiency by transforming online phase ordering into fast, similarity‑driven retrieval.

Mon 15 Jun

Displayed time zone: Mountain Time (US & Canada) change

14:00 - 15:20
Session 1: Advanced Compiler TuningLCTES at Flatirons 3
Chair(s): Myeonggyun Han Kyungpook National University
14:00
10m
Keynote
Opening Remarks
LCTES
Jeronimo Castrillon TU Dresden, Germany
14:10
22m
Talk
RAPO: Retrieval-Augmented Phase Ordering
LCTES
Jinwook Yang Seoul National University, Junghyun Lee Seoul National University, South Korea, Yeonsun ­Hong Seoul National University, Hyojin Sung Seoul National University
DOI
14:32
22m
Talk
CausalTuner: Feature-Aware Causal Guidance for Compiler Auto-tuningArtifacts Available
LCTES
Jiaqing Zhong National University of Defense Technology, Juan Chen College of Computer Science and Technology, National University of Defense Technology, China, Yichang Zhou National University of Defense Technology, Kuan Li Dongguan University of Technology
DOI
14:54
22m
Talk
Empirical Observations about Profile-Guided Optimizations for Mainstream C/C++ Compilers
LCTES
Soma Pal U. of Kansas, Prasad Kulkarni U. of Kansas
DOI