summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2010-04-14 23:42:23 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2010-04-14 23:42:23 +0000
commitde1a37b872031cced09b7d9ab721af9007da8049 (patch)
treeba7e3df5e3a20576eadda3ffa1875c58b2b08f27 /llvm/lib
parent064fdb2fe844a4c70fc9b16426433878d78c8298 (diff)
downloadbcm5719-llvm-de1a37b872031cced09b7d9ab721af9007da8049.tar.gz
bcm5719-llvm-de1a37b872031cced09b7d9ab721af9007da8049.zip
IPO needs ScalarOpts and InstCombine in its libs
The commit "Adding IPSCCP and Internalize passes to the C-bindings" introduced new dependencies for IPO. Add these to the CMAKE build as otherwise the BUILD_SHARED_LIBS=1 build fails. llvm-svn: 101313
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/CMakeLists.txt b/llvm/lib/Transforms/IPO/CMakeLists.txt
index 92bef3bb75e..65483e8fed6 100644
--- a/llvm/lib/Transforms/IPO/CMakeLists.txt
+++ b/llvm/lib/Transforms/IPO/CMakeLists.txt
@@ -23,3 +23,5 @@ add_llvm_library(LLVMipo
StripSymbols.cpp
StructRetPromotion.cpp
)
+
+target_link_libraries (LLVMipo LLVMScalarOpts LLVMInstCombine)
OpenPOWER on IntegriCloud