# MLIR (Multi-Level Intermediate Representation)

Source: https://stateofthefuture.io/ai-software/ai-compilers/mlir/
Checked: 25 Nov 2026

A shared toolkit for building compilers that turn models into chip code.

Potential 11. Readiness 69. Position: Winning.

## What it is

Chris Lattner started MLIR at Google in 2018, and it joined the open LLVM compiler project in 2019 ([Wikipedia](https://en.wikipedia.org/wiki/MLIR_(software))). Its aim is to cut the cost of building a compiler for a new kind of chip ([arXiv, Feb 2020](https://arxiv.org/abs/2002.11054)).

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](https://en.wikipedia.org/wiki/MLIR_(software))).

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](https://mlir.llvm.org/users/)).

Cost: Free and open source. No public price.

What counts: MLIR itself. Compilers built from it, [XLA](https://stateofthefuture.io/ai-software/ai-compilers/xla/), [Triton](https://stateofthefuture.io/ai-software/ai-compilers/triton/) and [IREE](https://stateofthefuture.io/ai-software/ai-compilers/iree/), have their own pages.

## 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 catch: Each vendor's dialects may not work with the others', rebuilding the split MLIR was meant to end [unverified].

## How it scores

- **Impact 1/5.** 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/5.** Faster code by well under 2 times, and rivals also span chips.. 
- **Viability 5/5.** Routine across many independent chip makers.. The user list names compilers from NVIDIA, AMD, Intel, Qualcomm, Google and others ([MLIR](https://mlir.llvm.org/users/)). Independent
- **Drivers 3/5.** Chip makers keep building products on it; nobody pays for it.. Repeat use, not orders. Close to 4: XLA, built with MLIR ([OpenXLA](https://openxla.org/xla)), carries large TPU commitments, but those count on XLA's page. Judgement
- **Ease of adoption 2/5.** 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/5.** Open source; anyone can copy and keep it.. 

The brake: Standards. Dialects 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 [Wikipedia](https://en.wikipedia.org/wiki/MLIR_(software))
- 2019: MLIR joins LLVM's open repository. No single firm controls it [Wikipedia](https://en.wikipedia.org/wiki/MLIR_(software))
- 8 Mar 2023: OpenXLA launches on MLIR, its StableHLO stored as MLIR. Google's TPU compiler rests on it [Google](https://opensource.googleblog.com/2023/03/openxla-is-ready-to-accelerate-and-simplify-ml-development.html)
- 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 [Modular](https://www.modular.com/blog/modular-raises-250m-to-scale-ais-unified-compute-layer)
- 2025: NVIDIA releases CUDA Tile IR, an MLIR-based layer for its tensor cores, with CUDA 13.1. The market leader builds on it [GitHub](https://github.com/NVIDIA/cuda-tile)

## 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](https://www.modular.com/blog/modular-raises-250m-to-scale-ais-unified-compute-layer)). Evidence: Judgement.

## What would change this

- 2027: Whether a shared core of dialects stops vendor splits. If not, ease falls.
- Any date: A large chip maker leaves MLIR for its own base. Drivers would fall.

Prediction: MLIR's official user list names at least 70 projects by 31 December 2027, against 56 today. Probability 50%.

## Against the alternatives

The alternatives table is on [the AI compilers page](https://stateofthefuture.io/ai-software/ai-compilers/).

## Who is involved

| Name (country, listing) | Role | Money | Stage |
| --- | --- | --- | --- |
| LLVM project (open source) | maintains it, sets the rules | not disclosed | Routine ([Wikipedia](https://en.wikipedia.org/wiki/MLIR_(software))) |
| Google (US, Nasdaq) | makes for own use: XLA, TensorFlow | part of Alphabet | Routine ([MLIR](https://mlir.llvm.org/users/)) |
| NVIDIA (US, Nasdaq) | makes: CUDA Tile IR, MLIR-TensorRT | part of NVIDIA | Routine ([MLIR](https://mlir.llvm.org/users/)) |
| AMD (US, Nasdaq) | makes: MLIR-AIE, rocMLIR | part of AMD | Routine ([MLIR](https://mlir.llvm.org/users/)) |
| Intel (US, Nasdaq) | makes: IMEX | part of Intel | Routine ([MLIR](https://mlir.llvm.org/users/)) |
| Qualcomm (US, Nasdaq) | makes: Hexagon-MLIR | part of Qualcomm | listed user ([MLIR](https://mlir.llvm.org/users/)) |
| Tenstorrent (Canada, private) | makes: tt-mlir | part of Tenstorrent | listed user ([MLIR](https://mlir.llvm.org/users/)) |
| Modular (US, private) | makes: the Mojo language, built on MLIR ([Wikipedia](https://en.wikipedia.org/wiki/MLIR_(software))) | $250 million round ([Modular](https://www.modular.com/blog/modular-raises-250m-to-scale-ais-unified-compute-layer)) | In paid use |


Author: Lawrence Lundy-Bryan, State of the Future (https://stateofthefuture.io/)
