commit | 9e970e18057e80e8af07f96d73714e395bac98d1 | [log] [tgz] |
---|---|---|
author | Marius Brehler <marius.brehler@iml.fraunhofer.de> | Wed Oct 28 18:20:24 2020 +0000 |
committer | Marius Brehler <marius.brehler@iml.fraunhofer.de> | Wed Oct 28 18:20:24 2020 +0000 |
tree | c742c91e5e38527f3a8ba216f0095200cff7bed8 | |
parent | d2cdb70e038370b5e28f353fe98ccd70af1cbc25 [diff] | |
parent | 7f6d04d367b2372e90558481e36db0f95e33e185 [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.