3 ms·
MLIR (Multi-Level Intermediate Representation) is an LLVM project made to address some of the shortcomings of LLVM IR. Many languages using LLVM as a backend (e
by SubjectToChange 3y ago
MLIR (Multi-Level Intermediate Representation) is an LLVM project made to address some of the shortcomings of LLVM IR. Many languages using LLVM as a backend (e.g. Swift, Rust) have have resorted to defining their own IRs because dropping all the way down to LLVM IR loses almost all of a language’s semantics.