set(LLVM_LINK_COMPONENTS
  Vectorize
  AsmParser
  )

add_llvm_unittest(VectorizeTests
  VPlanTest.cpp
  VPlanHCFGTest.cpp
  )

set(LLVM_LINK_COMPONENTS
  Analysis
  Core
  Vectorize
  AsmParser
  )

add_llvm_unittest(VectorizeTests
  VPlanTest.cpp
  VPlanHCFGTest.cpp
  )

Add Analysis and Core to LLVM_LINK_COMPONENTS
[VPlan] Add Analysis and Core to LLVM_LINK_COMPONENTS

Summary: Without these, build with `-DSHARED_LIB=ON` fails.

Reviewers: dschuff

Subscribers: mgorny, bollu, tschuett, rkruppe, rogfer01, llvm-commits

Differential Revision: https://reviews.llvm.org/D48300

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@334997 91177308-0d34-0410-b5e6-96231b3b80d8
