mlir is an actively used intermediate representation language created in 2019.

1Years Old 1,656Users ?Jobs

Example code from the web:

// Syntactically similar to LLVM:
func @testFunction(%arg0: i32) {
  %x = call @thingToCall(%arg0) : (i32) -> i32
  br ^bb1
^bb1:
  %y = addi %x, %x : i32
  return %y : i32
}

Last updated August 9th, 2020

Edit mlir on GitHub