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