summaryrefslogtreecommitdiffstats
path: root/polly/lib
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2020-01-10 10:05:30 +0100
committerserge-sans-paille <sguelton@redhat.com>2020-01-10 10:10:20 +0100
commit346de9b67228f42eb9b55fa3b426b5dedfdb1d40 (patch)
treed7c3e318b3af41b1d65bf2863bb4c795d382394b /polly/lib
parentabfa27e4f04dd84774bcfe15783942e21be391a5 (diff)
downloadbcm5719-llvm-346de9b67228f42eb9b55fa3b426b5dedfdb1d40.tar.gz
bcm5719-llvm-346de9b67228f42eb9b55fa3b426b5dedfdb1d40.zip
Fix several issues with compiler extensions
- Update documentation now that the move to monorepo has been made - Do not tie compiler extension testing to LLVM_BUILD_EXAMPLES - No need to specify LLVM libraries for plugins - Add NO_MODULE option to match Polly specific requirements (i.e. building the module *and* linking it statically) - Issue a warning when building the compiler extension with LLVM_BYE_LINK_INTO_TOOLS=ON, as it modifies the behavior of clang, which only makes sense for testing purpose. Still mark llvm/test/Feature/load_extension.ll as XFAIL because of a ManagedStatic dependency that's going to be fixed in a seperate commit. Differential Revision: https://reviews.llvm.org/D72327
Diffstat (limited to 'polly/lib')
-rw-r--r--polly/lib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/lib/CMakeLists.txt b/polly/lib/CMakeLists.txt
index 9e8cd1906d6..ee0834cc8e3 100644
--- a/polly/lib/CMakeLists.txt
+++ b/polly/lib/CMakeLists.txt
@@ -24,6 +24,7 @@ endif ()
# Use an object-library to add the same files to multiple libs without requiring
# the sources them to be recompiled for each of them.
add_llvm_pass_plugin(Polly
+ NO_MODULE
Analysis/DependenceInfo.cpp
Analysis/PolyhedralInfo.cpp
Analysis/ScopDetection.cpp
OpenPOWER on IntegriCloud