Table of Contents
Learning Resources
Resources marked with
→
are best.
Introduction
→
2019 EuroLLVM Developers’ Meeting: MLIR: Multi-Level Intermediate Representation Compiler Infrastructure
→
MLIR: A Compiler Infrastructure for the End of Moore’s Law
The paper introducing the MLIR framework
7-minute video summary of paper:
Read a paper: Multi-level Intermediate Representation (MLIR)
Another version of the paper:
MLIR: Scaling Compiler Infrastructure for Domain Specific Computation
MLIR Tutorial
→
(slides)
MLIR Tutorial (LLVM Dev Mtg, 2020)
→
(video)
2020 LLVM Developers’ Meeting: M. Amini & R. Riddle “MLIR Tutorial”
(older slides)
MLIR Tutorial (LLVM Developers Meeting, Euro-LLVM 2019)
(older slides)
MLIR Tutorial (MLIR 4 HPC, 2019)
(older video)
2019 EuroLLVM Developers’ Meeting: Mehdi & Vasilache & Zinenko “Building a Compiler with MLIR”
→
Another MLIR Tutorial
https://github.com/j2kun/mlir-tutorial
→
How to build a compiler with LLVM and MLIR
Other articles, posts
→
Intro to LLVM and MLIR with Rust and Melior
→
MLIR Notes
→
Compilers and IRs: LLVM IR, SPIR-V, and MLIR
[HN]
MLIR: Redefining the compiler infrastructure
Pinch: Implementing a borrow-checked language with MLIR
Official Documentation
MLIR Homepage
MLIR Language Reference
MLIR Compiler
Youtube Channel
Talks, Presentations, & Videos
2020 LLVM in HPC Workshop: Keynote: MLIR: an Agile Infrastructure for Building a Compiler Ecosystem
2021 LLVM Dev Mtg “Representing Concurrency with Graph Regions in MLIR”
2022 LLVM Dev Mtg: Paths towards unifying LLVM and MLIR
2022 LLVM Dev Mtg: VAST: MLIR for program analysis of C/C++
2022 LLVM Dev Mtg: MLIR for Functional Programming
2022 EuroLLVM Dev Mtg “Prototyping a Compiler for Homomorphic Encryption Using MLIR”
cirgen: MLIR based compiler for zk-STARK circuit generation - Frank Laub (RISC Zero)
Prototyping a compiler for homomorphic encryption using MLIR
Slides