1 set(LLVM_LINK_COMPONENTS
23 # MSVC9 and 8 cannot compile ValueMapTest.cpp due to their bug.
24 # See issue#331418 in Visual Studio.
25 if(MSVC AND MSVC_VERSION LESS 1600)
26 list(REMOVE_ITEM IRSources ValueMapTest.cpp)
29 # HACK: Declare a couple of source files as optionally compiled to satisfy the
30 # missing-file-checker in LLVM's weird CMake build.
31 set(LLVM_OPTIONAL_SOURCES
35 add_llvm_unittest(IRTests