CGO 2026
Sat 31 January - Wed 4 February 2026 Sydney, Australia
co-located with HPCA/CGO/PPoPP/CC 2026
Tue 3 Feb 2026 10:10 - 10:30 at Bronte - Code Generation Chair(s): Fredrik Kjolstad

Instruction selection in compiler backends traditionally depends on huge handwritten rule libraries that map IR patterns to target instruction sequences. Porting to new architectures or extending them for new hardware features is a very error-prone process,results in a significant development effort of a dedicated expert and even requires long-term commitment to apply patches for previously introduced bugs.

Automatic synthesis of these rule libraries from formal ISA and IR specifications eliminates the initial development effort and reduces the long-term maintenance effort, as synthesized rules are correct by construction. Prior work on synthesizing instruction selectors either requires synthesis times of multiple days or significantly falls behind the code quality of an optimizing handwritten backend - in both cases not applicable in practice.

We introduce a term canonicalization and indexing approach that accelerates finding rules on syntactically-similar bitvector terms while returning to SMT solving to ensure completeness in all other cases. Combined with search bounds derived from LLVM's existing pattern base, this reduces synthesis times from multiple days to under two hours for AArch64 and RISC-V.

We integrated the synthesized instruction selection rules for AArch64 and RISC-V into LLVM's GlobalISel backend and achieved almost on-par performance with the existing, industry-standard code generation backends in LLVM on the SPEC 2017 Integer benchmark suite (within 4% of LLVM GlobalISel).

Tue 3 Feb

Displayed time zone: Hobart change

09:50 - 11:10
Code GenerationMain Conference at Bronte
Chair(s): Fredrik Kjolstad Stanford University
09:50
20m
Talk
TPDE: A Fast Adaptable Compiler Back-End Framework
Main Conference
Tobias Schwarz TU Munich, Tobias Kamm TU Munich, Alexis Engelke TU Munich
Pre-print Media Attached
10:10
20m
Talk
Synthesizing Instruction Selection Back-Ends from ISA Specifications Made Practical
Main Conference
Florian Drescher Technical University of Munich, Alexis Engelke TU Munich
Pre-print
10:30
20m
Talk
SparseX: Synergizing GPU Libraries for Sparse Matrix Multiplication on Heterogeneous Processors
Main Conference
Ruifeng Zhang North Carolina State University, Xiangwei Wang North Carolina State University, Ang Li Pacific Northwest National Laboratory, Xipeng Shen North Carolina State University
Pre-print Media Attached
10:50
20m
Talk
Compilation of Generalized Matrix Chains with Symbolic Sizes
Main Conference
Francisco López Umeå University, Lars Karlsson Umeå University, Paolo Bientinesi Umeå University
Pre-print Media Attached