MLIR - AshokBhat/notes GitHub Wiki

About

  • Multi-Level Intermediate Representation
  • An intermediate representation (IR) system
  • Between a language (like C) or library (like TensorFlow) and the compiler backend (like LLVM)
  • Allows code reuse between compiler stack of different languages
  • Can be used for any language in general.

MLIR Architecture

MLIR Architecture Source: iq.opengenus.org

TensorFlow connection

LLVM connection

  • Originated by Chris Lattner while he was at Google
  • Part of LLVM family of projects

See Also