add_llvm_library(LLVMInstCombine
InstructionCombining.cpp
+ InstCombineAddSub.cpp
+ InstCombineAndOrXor.cpp
+ InstCombineCalls.cpp
InstCombineCasts.cpp
InstCombineCompares.cpp
+ InstCombineLoadStoreAlloca.cpp
+ InstCombineMulDivRem.cpp
+ InstCombinePHI.cpp
+ InstCombineSelect.cpp
+ InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp
+ InstCombineVectorOps.cpp
)
-target_link_libraries (LLVMInstCombine LLVMTransformUtils)
+add_llvm_library_dependencies(LLVMInstCombine
+ LLVMAnalysis
+ LLVMCore
+ LLVMSupport
+ LLVMTarget
+ LLVMTransformUtils
+ )