Skip to content

Lowers core dialects to qbe dialect, and translate to qbe ir.

License

Notifications You must be signed in to change notification settings

lemoncmd/mlir-qbe-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlir-qbe-translate

Lowers core dialects to qbe dialect, and translate to qbe ir.

Build

$ mkdir build && cd build
$ cmake -G Ninja path/to/llvm-project/llvm \
    -DCMAKE_BUILD_TYPE=Release \
    -DLLVM_TARGETS_TO_BUILD=host \
    -DLLVM_ENABLE_PROJECTS=mlir \
    -DLLVM_EXTERNAL_PROJECTS=qbe-dialect \
    -DLLVM_EXTERNAL_QBE_DIALECT_SOURCE_DIR=../ \
    -DCMAKE_C_COMPILER=clang \
    -DCMAKE_CXX_COMPILER=clang++
$ cmake --build . --target check-qbe

About

Lowers core dialects to qbe dialect, and translate to qbe ir.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published