summaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-09-13 23:59:48 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-09-13 23:59:48 +0000
commit3a210e2d302758101ac06946e86027b327c7d0f3 (patch)
treee12390ee573b3d34a2b48b5aadfcb52d2b46296a /lib/Transforms
parentbd916c54b7989ddbab373c61eb1ed2556ca44d27 (diff)
downloadexternal_llvm-3a210e2d302758101ac06946e86027b327c7d0f3.zip
external_llvm-3a210e2d302758101ac06946e86027b327c7d0f3.tar.gz
external_llvm-3a210e2d302758101ac06946e86027b327c7d0f3.tar.bz2
Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."
This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/IPO/CMakeLists.txt9
-rw-r--r--lib/Transforms/InstCombine/CMakeLists.txt9
-rw-r--r--lib/Transforms/Instrumentation/CMakeLists.txt6
-rw-r--r--lib/Transforms/Scalar/CMakeLists.txt8
-rw-r--r--lib/Transforms/Utils/CMakeLists.txt7
5 files changed, 5 insertions, 34 deletions
diff --git a/lib/Transforms/IPO/CMakeLists.txt b/lib/Transforms/IPO/CMakeLists.txt
index b07d094..65483e8 100644
--- a/lib/Transforms/IPO/CMakeLists.txt
+++ b/lib/Transforms/IPO/CMakeLists.txt
@@ -24,11 +24,4 @@ add_llvm_library(LLVMipo
StructRetPromotion.cpp
)
-target_link_libraries(LLVMipo
- LLVMAnalysis
- LLVMCore
- LLVMScalarOpts
- LLVMTarget
- LLVMTransformUtils
- LLVMipa
- )
+target_link_libraries (LLVMipo LLVMScalarOpts LLVMInstCombine)
diff --git a/lib/Transforms/InstCombine/CMakeLists.txt b/lib/Transforms/InstCombine/CMakeLists.txt
index 4330377..5b1ff3e 100644
--- a/lib/Transforms/InstCombine/CMakeLists.txt
+++ b/lib/Transforms/InstCombine/CMakeLists.txt
@@ -9,14 +9,9 @@ add_llvm_library(LLVMInstCombine
InstCombineMulDivRem.cpp
InstCombinePHI.cpp
InstCombineSelect.cpp
- InstCombineShifts.cpp
+ InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp
InstCombineVectorOps.cpp
)
-target_link_libraries(LLVMInstCombine
- LLVMAnalysis
- LLVMCore
- LLVMTarget
- LLVMTransformUtils
- )
+target_link_libraries (LLVMInstCombine LLVMTransformUtils)
diff --git a/lib/Transforms/Instrumentation/CMakeLists.txt b/lib/Transforms/Instrumentation/CMakeLists.txt
index f5ad9c6..128bf48 100644
--- a/lib/Transforms/Instrumentation/CMakeLists.txt
+++ b/lib/Transforms/Instrumentation/CMakeLists.txt
@@ -3,9 +3,3 @@ add_llvm_library(LLVMInstrumentation
OptimalEdgeProfiling.cpp
ProfilingUtils.cpp
)
-
-target_link_libraries(LLVMInstrumentation
- LLVMAnalysis
- LLVMCore
- LLVMTransformUtils
- )
diff --git a/lib/Transforms/Scalar/CMakeLists.txt b/lib/Transforms/Scalar/CMakeLists.txt
index 05825e7..b7598ea 100644
--- a/lib/Transforms/Scalar/CMakeLists.txt
+++ b/lib/Transforms/Scalar/CMakeLists.txt
@@ -32,10 +32,4 @@ add_llvm_library(LLVMScalarOpts
TailRecursionElimination.cpp
)
-target_link_libraries (LLVMScalarOpts
- LLVMAnalysis
- LLVMCore
- LLVMInstCombine
- LLVMTarget
- LLVMTransformUtils
- )
+target_link_libraries (LLVMScalarOpts LLVMTransformUtils)
diff --git a/lib/Transforms/Utils/CMakeLists.txt b/lib/Transforms/Utils/CMakeLists.txt
index f10a727..61cbeb2 100644
--- a/lib/Transforms/Utils/CMakeLists.txt
+++ b/lib/Transforms/Utils/CMakeLists.txt
@@ -25,9 +25,4 @@ add_llvm_library(LLVMTransformUtils
ValueMapper.cpp
)
-target_link_libraries(LLVMTransformUtils
- LLVMAnalysis
- LLVMCore
- LLVMTarget
- LLVMipa
- )
+target_link_libraries (LLVMTransformUtils LLVMSupport)