diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2010-04-14 23:42:23 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2010-04-14 23:42:23 +0000 |
commit | de1a37b872031cced09b7d9ab721af9007da8049 (patch) | |
tree | ba7e3df5e3a20576eadda3ffa1875c58b2b08f27 /llvm/lib | |
parent | 064fdb2fe844a4c70fc9b16426433878d78c8298 (diff) | |
download | bcm5719-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.txt | 2 |
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) |