commit | 08c41f61f4f5f17728c9e0f48640eaa32588b63b | [log] [tgz] |
---|---|---|
author | Marius Brehler <marius.brehler@iml.fraunhofer.de> | Wed Sep 16 22:14:15 2020 +0200 |
committer | Marius Brehler <marius.brehler@iml.fraunhofer.de> | Wed Sep 16 22:14:15 2020 +0200 |
tree | 00591dcd5a9e59d28fe1131589c70a65ed159398 | |
parent | 5dfc6b09104202d662efc7cb93d17c94eb269df7 [diff] | |
parent | f4c6730972dc9c7f16fb929c8684718becefe650 [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.