logoalt Hacker News

afdbcreidyesterday at 10:35 PM1 replyview on HN

First, I'm not sure. Rust has MIR optimizations and also other transformations.

But even if yes, MLIR is part of the LLVM project, so it's technically still "just an LLVM wrapper".


Replies

skavitoday at 12:30 AM

MLIR is more a library for building a compiler than a compiler itself IIUC. LLVM can be thought of similarly, but IMO, it's more self contained.