https://github.com/hatoo/melior-user-defined-dialect-example
https://github.com/hatoo/melior-user-defined-dialect-example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hatoo/melior-user-defined-dialect-example
- Owner: hatoo
- Created: 2024-12-22T07:26:53.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-12-22T14:04:20.000Z (4 months ago)
- Last Synced: 2025-03-10T02:12:04.123Z (about 2 months ago)
- Language: C++
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Melior user defined dialect example
This is a sample project that demonstrates how to use the Melior with user defined dialects.
I built LLVM using
```
cmake -G Ninja ../llvm -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_BUILD_EXAMPLES=ON -DLLVM_TARGETS_TO_BUILD="Native;NVPTX;AMDGPU" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_RTTI=ON
```