include_directories(
${PROJECT_SOURCE_DIR}/lib/Target/X86
${PROJECT_BINARY_DIR}/lib/Target/X86
)
set(LLVM_LINK_COMPONENTS
Analysis
AsmParser
CodeGen
CodeGenTypes
Core
InstCombine
MC
MIRParser
Passes
Support
Target
TargetParser
X86CodeGen
X86Desc
X86Info
)
add_llvm_unittest(X86Tests
MachineSizeOptsTest.cpp
TernlogTest.cpp
)