mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
b4f953e9f4
We saw a 70% ThinLTO link time increase in Chromium for Android, see crbug.com/978817. Sounds like more of PR42210. > Recommit of D32530 with a few small changes: > - Stopped recursively walking through aggregates in > the verifier, so that we don't impose too much > overhead on large modules under LTO (see PR42210). > - Changed tests to match; the errors are slightly > different since they only report the array or > struct that actually contains a scalable vector, > rather than all aggregates which contain one in > a nested member. > - Corrected an older comment > > Reviewers: thakis, rengolin, sdesmalen > > Reviewed By: sdesmalen > > Differential Revision: https://reviews.llvm.org/D63321 llvm-svn: 364543
45 lines
840 B
CMake
45 lines
840 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Analysis
|
|
AsmParser
|
|
Core
|
|
Support
|
|
Passes
|
|
)
|
|
|
|
add_llvm_unittest(IRTests
|
|
AsmWriterTest.cpp
|
|
AttributesTest.cpp
|
|
BasicBlockTest.cpp
|
|
CFGBuilder.cpp
|
|
ConstantRangeTest.cpp
|
|
ConstantsTest.cpp
|
|
DataLayoutTest.cpp
|
|
DebugInfoTest.cpp
|
|
DebugTypeODRUniquingTest.cpp
|
|
DominatorTreeTest.cpp
|
|
DominatorTreeBatchUpdatesTest.cpp
|
|
FunctionTest.cpp
|
|
PassBuilderCallbacksTest.cpp
|
|
IRBuilderTest.cpp
|
|
InstructionsTest.cpp
|
|
IntrinsicsTest.cpp
|
|
LegacyPassManagerTest.cpp
|
|
MDBuilderTest.cpp
|
|
ManglerTest.cpp
|
|
MetadataTest.cpp
|
|
ModuleTest.cpp
|
|
PassManagerTest.cpp
|
|
PatternMatch.cpp
|
|
TimePassesTest.cpp
|
|
TypesTest.cpp
|
|
UseTest.cpp
|
|
UserTest.cpp
|
|
ValueHandleTest.cpp
|
|
ValueMapTest.cpp
|
|
ValueTest.cpp
|
|
VerifierTest.cpp
|
|
WaymarkTest.cpp
|
|
)
|
|
|
|
target_link_libraries(IRTests PRIVATE LLVMTestingSupport)
|