MLIR: A Compiler Infrastructure for the End of Moore's Law
Chris Lattner, Mehdi Amini, Uday Bondhugula, Albert Cohen, Andy Davis,, Jacques Pienaar, River Riddle, Tatiana Shpeisman, Nicolas Vasilache,, Oleksandr Zinenko

TL;DR
MLIR introduces a flexible, extensible compiler infrastructure designed to address hardware heterogeneity and reduce development costs, fostering innovation in compiler design and integration.
Contribution
This paper presents MLIR as a novel, extensible compiler infrastructure that facilitates reuse, reduces costs, and connects diverse compiler components across domains and hardware.
Findings
MLIR reduces the cost of building domain-specific compilers.
MLIR supports multiple levels of abstraction and hardware targets.
MLIR enables integration of existing compiler tools.
Abstract
This work presents MLIR, a novel approach to building reusable and extensible compiler infrastructure. MLIR aims to address software fragmentation, improve compilation for heterogeneous hardware, significantly reduce the cost of building domain specific compilers, and aid in connecting existing compilers together. MLIR facilitates the design and implementation of code generators, translators and optimizers at different levels of abstraction and also across application domains, hardware targets and execution environments. The contribution of this work includes (1) discussion of MLIR as a research artifact, built for extension and evolution, and identifying the challenges and opportunities posed by this novel design point in design, semantics, optimization specification, system, and engineering. (2) evaluation of MLIR as a generalized infrastructure that reduces the cost of building…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Logic, programming, and type systems · Scientific Computing and Data Management
