Composable and Modular Code Generation in MLIR: A Structured and Retargetable Approach to Tensor Compiler Construction
Not on the map. Why?
Abstract (arXiv)
Despite significant investment in software infrastructure, machine learning systems, runtimes and compilers do not compose properly. We propose a new design aiming at providing unprecedented degrees of modularity, composability and genericity. This paper discusses a structured approach to the construction of domain-specific code generators for tensor compilers, with the stated goal of improving the productivity of both compiler engineers and end-users. The approach leverages the natural structure of tensor algebra. It has been the main driver for the design of progressive lowering paths in MLIR. The proposed abstractions and transformations span data structures and control flow with both functional (SSA form) and imperative (side-effecting) semantics. We discuss the implications of this infrastructure on compiler construction and present preliminary experimental results.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Feb 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 1; 2025: 1; 2026: 2.
8 papers.
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
- 2024Allo: A Programming Model for Composable Accelerator Designcited by 16
- 2025Adaptive Self-improvement LLM Agentic System for ML Library Developmentcited by 16
- 2023oneDNN Graph Compiler: A Hybrid Approach for High-Performance Deep Learning Compilationcited by 7
- 2022TPU-MLIR: A Compiler For TPU Using MLIRcited by 3
- 2023Advancing Direct Convolution using Convolution Slicing Optimization and ISA Extensionscited by 3
- 2026Nova: An End-to-End MLIR Compiler for Deep Learningcited by 0
- 2026RISC-V and machine learning: a surveycited by 0
- 2026RISC-V and machine learning: a survey17 Sep 2026
- 2026Nova: An End-to-End MLIR Compiler for Deep Learning15 Jul 2026
- 2025Adaptive Self-improvement LLM Agentic System for ML Library Development4 Feb 2025
- 2024Allo: A Programming Model for Composable Accelerator Design7 Apr 2024
- 2023Advancing Direct Convolution using Convolution Slicing Optimization and ISA Extensions8 Mar 2023
- 2023oneDNN Graph Compiler: A Hybrid Approach for High-Performance Deep Learning Compilation3 Jan 2023
- 2022TPU-MLIR: A Compiler For TPU Using MLIR23 Oct 2022
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning11 Jul 2022