OSDN Git Service

IPO needs ScalarOpts and InstCombine in its libs
authorTobias Grosser <grosser@fim.uni-passau.de>
Wed, 14 Apr 2010 23:42:23 +0000 (23:42 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Wed, 14 Apr 2010 23:42:23 +0000 (23:42 +0000)
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

lib/Transforms/IPO/CMakeLists.txt

index 92bef3b..65483e8 100644 (file)
@@ -23,3 +23,5 @@ add_llvm_library(LLVMipo
   StripSymbols.cpp
   StructRetPromotion.cpp
   )
+
+target_link_libraries (LLVMipo LLVMScalarOpts LLVMInstCombine)