commit | d2cdb70e038370b5e28f353fe98ccd70af1cbc25 | [log] [tgz] |
---|---|---|
author | Marius Brehler <marius.brehler@iml.fraunhofer.de> | Tue Oct 06 12:54:22 2020 +0200 |
committer | Marius Brehler <marius.brehler@iml.fraunhofer.de> | Tue Oct 06 12:54:22 2020 +0200 |
tree | f440a3c9a9fadca03787336a35a836f04bf507ea | |
parent | 08c41f61f4f5f17728c9e0f48640eaa32588b63b [diff] | |
parent | 896db95f510c61bb9480918e3f903b29df054917 [diff] |
Merge branch 'master' into iree
MLIR dialect to emit C++ code, forked from https://reviews.llvm.org/D76571.
This setup assumes that you have built LLVM and MLIR in $BUILD_DIR
and installed them to $PREFIX
. To build and launch the tests, run
mkdir build && cd build cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ .. -DMLIR_DIR=$PREFIX/lib/cmake/mlir -DLLVM_EXTERNAL_LIT=$BUILD_DIR/bin/llvm-lit cmake --build . --target check-emitc
Note: Make sure to pass -DLLVM_INSTALL_UTILS=ON
when building LLVM with CMake in order to install FileCheck
to the chosen installation prefix.