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 | 640bf9d3706f79d0842198a2a235662e734fce57 (patch) | |
| tree | 9048a5503e0b2a525115cc76dcb04666662b697c /lib | |
| parent | bf3f0fab0ae55b42dc713122d73f14be38120cd6 (diff) | |
| download | external_llvm-640bf9d3706f79d0842198a2a235662e734fce57.zip external_llvm-640bf9d3706f79d0842198a2a235662e734fce57.tar.gz external_llvm-640bf9d3706f79d0842198a2a235662e734fce57.tar.bz2 | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Transforms/IPO/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/CMakeLists.txt b/lib/Transforms/IPO/CMakeLists.txt index 92bef3b..65483e8 100644 --- a/lib/Transforms/IPO/CMakeLists.txt +++ b/lib/Transforms/IPO/CMakeLists.txt @@ -23,3 +23,5 @@ add_llvm_library(LLVMipo StripSymbols.cpp StructRetPromotion.cpp ) + +target_link_libraries (LLVMipo LLVMScalarOpts LLVMInstCombine) |
