mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
c3c7a59967
This relands e9a3d1a401b07cbf7b11695637f1b549782a26cd which was originally missing linking LLVMSupport into LLMVFileCheck which broke the SHARED_LIBS build. Original summary: The actual FileCheck logic seems to be implemented in LLVMSupport. I don't see a good reason for having FileCheck implemented there as it has a very specific use while LLVMSupport is a dependency of pretty much every LLVM tool there is. In fact, the only use of FileCheck I could find (outside the FileCheck tool and the FileCheck unit test) is a single call in GISelMITest.h. This moves the FileCheck logic to its own LLVMFileCheck library. This way only FileCheck and the GlobalISelTests now have a dependency on this code. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D86344
25 lines
392 B
CMake
25 lines
392 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
CodeGen
|
|
Core
|
|
FileCheck
|
|
GlobalISel
|
|
MC
|
|
MIRParser
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_unittest(GlobalISelTests
|
|
ConstantFoldingTest.cpp
|
|
CSETest.cpp
|
|
LegalizerTest.cpp
|
|
LegalizerHelperTest.cpp
|
|
LegalizerInfoTest.cpp
|
|
MachineIRBuilderTest.cpp
|
|
GISelMITest.cpp
|
|
PatternMatchTest.cpp
|
|
KnownBitsTest.cpp
|
|
GISelUtilsTest.cpp
|
|
)
|