commit | 5dfc6b09104202d662efc7cb93d17c94eb269df7 | [log] [tgz] |
---|---|---|
author | Marius Brehler <marius.brehler@iml.fraunhofer.de> | Mon Sep 07 08:24:45 2020 +0200 |
committer | Marius Brehler <marius.brehler@iml.fraunhofer.de> | Mon Sep 07 08:24:45 2020 +0200 |
tree | 961062b5b39ac9a14866e7d7443ef0ee28eebea2 | |
parent | a4ef7afe07ab463d042fc1b16f175e2083c15d7f [diff] | |
parent | edeefa453d5717d08d76359d602b416e14cb3316 [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.