MLIR (Multi-Level Intermediate Representation)
A shared toolkit for building compilers that turn models into chip code.
- Position
- Winning
- Checked on
- 25 Nov 2026
Compiler buildingRoutine
Under compilers at NVIDIA, AMD, Intel and Google.
Theses that rest on this
What it is
Chris Lattner started MLIR at Google in 2018, and it joined the open LLVM compiler project in 2019 (Wikipedia). Its aim is to cut the cost of building a compiler for a new kind of chip (arXiv, Feb 2020).
It works through dialects: each is a set of operations at one level, from whole tensors down to one chip's instructions. A compiler lowers a model step by step from high dialects to low ones, so adding a chip means adding a dialect and its rules, not a new compiler (Wikipedia).
The number: 56 projects on MLIR's official user list, among them NVIDIA's CUDA Tile IR, AMD's MLIR-AIE, Intel's IMEX, Qualcomm's Hexagon-MLIR, Tenstorrent's tt-mlir and Huawei's AscendNPU IR (MLIR).
- Cost
- Free and open source. No public price.
The read
High readiness, the lowest potential in the family: chip buyers never see MLIR. It makes compilers cheaper to build, which is why most new chip makers start from it.
The catchEach vendor's dialects may not work with the others', rebuilding the split MLIR was meant to end unverified.
How it scores
Potential11
Impact 1
If it works fully, who would notice?
Compiler engineers notice; chip buyers do not.
It saves rebuilding shared compiler parts. The speed of the final code still depends on each chip's own lowering work unverified, so nothing shows on a chip's specification sheet. Close to 2: cheaper compilers bring new chips to market sooner.
Judgement
Novelty 2
Would a buyer switch for it, all else equal?
Faster code by well under 2 times, and rivals also span chips.
Same for every approach: see the ai compilers page.
Readiness69
Viability 5
Does it do the job it is sold for?
Routine across many independent chip makers.
The user list names compilers from NVIDIA, AMD, Intel, Qualcomm, Google and others (MLIR).
Independent
Drivers 3
Who is pulling, and how hard?
Chip makers keep building products on it; nobody pays for it.
Repeat use, not orders. Close to 4: XLA, built with MLIR (OpenXLA), carries large TPU commitments, but those count on XLA's page.
Judgement
Ease of adoption 2
Given that it works, how much must the adopter change?
A chip maker learns new tools and a new way of building a compiler.
Writing dialects and lowering rules is specialist work unverified.
Judgement
Supply 5
Could a buyer get it if one country or one firm said no?
Open source; anyone can copy and keep it.
Same for every approach: see the ai compilers page.
The brakeStandardsDialects from different vendors do not yet fit together unverified.
What changed
- 2018 Lattner's team starts MLIR at Google One base for many AI compilers Context Wikipedia
- 2019 MLIR joins LLVM's open repository No single firm controls it Supply at 5 Wikipedia
- 8 Mar 2023 OpenXLA launches on MLIR, its StableHLO stored as MLIR Google's TPU compiler rests on it Viability up to 5 Google
- 24 Sep 2025 Modular, led by MLIR's creator, raises $250 million at $1.6 billion Money for a cross-chip platform built on MLIR Context Modular
- 2025 NVIDIA releases CUDA Tile IR, an MLIR-based layer for its tensor cores, with CUDA 13.1 The market leader builds on it Viability holds at 5 GitHub
Who captures the value
Nobody directly: it is free. The value lands with chip makers that ship compilers sooner, and with firms building above it, such as Modular, valued at $1.6 billion in September 2025 (Modular). Evidence: Judgement.
What would change this
- 2027Whether a shared core of dialects stops vendor splits. If not, ease falls.
- Any dateA large chip maker leaves MLIR for its own base. Drivers would fall.
Prediction50%
MLIR's official user list names at least 70 projects by 31 December 2027, against 56 today.
Against the alternatives
The alternatives table is on the AI compilers page.
Who is involved
- Choices a buyer has
- 1One open project; compilers built on it count on their own pages.
- Funded challengers
- None counted.
| Name (country, listing) | Role | Money | Stage |
|---|---|---|---|
| LLVM project (open source) | maintains it, sets the rules | not disclosed | Routine (Wikipedia) |
| Google (US, Nasdaq) | makes for own use: XLA, TensorFlow | part of Alphabet | Routine (MLIR) |
| NVIDIA (US, Nasdaq) | makes: CUDA Tile IR, MLIR-TensorRT | part of NVIDIA | Routine (MLIR) |
| AMD (US, Nasdaq) | makes: MLIR-AIE, rocMLIR | part of AMD | Routine (MLIR) |
| Intel (US, Nasdaq) | makes: IMEX | part of Intel | Routine (MLIR) |
| Qualcomm (US, Nasdaq) | makes: Hexagon-MLIR | part of Qualcomm | listed user (MLIR) |
| Tenstorrent (Canada, private) | makes: tt-mlir | part of Tenstorrent | listed user (MLIR) |
| Modular (US, private) | makes: the Mojo language, built on MLIR (Wikipedia) | $250 million round (Modular) | In paid use |