Protean Compiler: An Agile Framework to Drive Fine-grain Phase Ordering
Researchers have developed Protean Compiler, an agile framework designed to integrate fine-grained phase ordering capabilities directly into the LLVM compiler. This framework includes over 140 static feature collection methods and aims to address the long-standing challenge of optimizing compiler phases. Experiments show speedup gains of up to 4.1% on average and up to 15.7% on select applications compared to LLVM's O3 optimization level, with minimal additional build time. The system also allows for integration with third-party ML frameworks and LLMs, demonstrating further speedup improvements on specific applications. AI