A Two-step Approach to Find Short Compilation Transformation Sequences for Optimal Software Runtime Performance
Statistics
Metrics and citations
Metadata
Show full item recordDate
2025Department
Ingeniería Informática; Ingeniería Mecánica y Diseño IndustrialSource
A Two-step Approach to Find Short Compilation Transformation Sequences for Optimal Software Runtime Performance. In Proceedings of The Genetic and Evolutionary Computation Conference 2025 (GECCO ’25 Companion). ACM, New York, NY, USA, 2025, pp. 815-818.Abstract
More efficient programs can be obtained by applying compiler optimization flags, i.e., sequences of code transformations. However, these generic sequences often underperform, as their effectiveness depends on both the software and hardware characteristics. This highlights the need for tailored transformation sequences. This paper introduces a new problem composed of two combinatorial optimization tasks aimed at finding optimal and minimal-length source code transformation sequences. Shorter sequences enable faster compilation using only the most effective transformations for a given program and hardware. We propose a two-step methodology to solve the problem: first, find sequences that minimize program runtime; second, reduce their length without degrading performance. Our approach produces sequences up to 51.27% shorter and over 26% faster compared to the -O3 flag.





