Skip to content

havogt/mlir_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlir_tutorial

  • Build llvm with mlir

tested with

  • llvm commit 40dfc6dff10bd8881c6df31884e2184bbaab5698
  • mlir commit 0eee0ba2e75c7c5f1430621aa13d2f0367f297ad

needs a small tweek to the CMakeLists.txt of mlir

  • install also *.td files and *.def files

Build this repository in the standard way, pointing to the LLVM installation

mkdir build && cd build
cmake .. -DLLVM_DIR=<install_root>/lib/cmake/llvm/
cmake --build . --target occ-opt

Just for fun, the mlir-opt is called occ-opt here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published