Build examples out of pure C++ rather than writing IR.
EDSC is a good example: https://github.com/llvm/llvm-project/blob/8d64df9f139038b48344dd9f1f20a38b22aba8c9/mlir/test/EDSC/builder-api-test.cpp
toy backend: https://github.com/llvm/llvm-project/blob/57818885be5160380e29e9c2e915b37d5b11ade9/mlir/examples/toy/Ch5/mlir/MLIRGen.cpp
Last updated 4 years ago
Was this helpful?