1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/unittests/CodeGen/CMakeLists.txt
Hsiangkai Wang 32b4991e16 [SelectionDAG] Avoid aliasing analysis if the object size is unknown.
If the size of memory access is unknown, do not use it to analysis. One
example of unknown size memory access is to load/store scalable vector
objects on the stack.

Differential Revision: https://reviews.llvm.org/D91833
2020-11-25 06:13:37 +08:00

38 lines
700 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
AsmParser
AsmPrinter
CodeGen
Core
MC
MIRParser
Passes
SelectionDAG
Support
Target
)
add_llvm_unittest(CodeGenTests
AArch64SelectionDAGTest.cpp
AllocationOrderTest.cpp
AsmPrinterDwarfTest.cpp
DIEHashTest.cpp
DIETest.cpp
LowLevelTypeTest.cpp
LexicalScopesTest.cpp
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp
MachineOperandTest.cpp
PassManagerTest.cpp
ScalableVectorMVTsTest.cpp
SelectionDAGAddressAnalysisTest.cpp
TypeTraitsTest.cpp
TargetOptionsTest.cpp
TestAsmPrinter.cpp
)
add_subdirectory(GlobalISel)
target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport)