Out-of-Tree Interpreter for executing MLIR code. Based on work originally published by @lchien
mkdir build && cd build
cmake -G Ninja -DLLVM_DIR=/path/to/llvm/install/prefix -DMLIR_DIR=/path/to/mlir/install/prefix -DCMAKE_EXPORT_COMPILE_COMMANDS=On ../
mli
executable takes in a.mlir
file and runs the interpreter on it.
Example: build/src/mli <path-to-mlir-file> --args=5,10