mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
f3b7304d30
This is recommit of 4c8fb7ddd6fa49258e0e9427e7345fb56ba522d4. MIR in one unit test had mismatched types. For vectors we consider a bit as known if it is the same for all demanded vector elements (all elements by default). KnownBits BitWidth for vector type is size of vector element. Add support for G_BUILD_VECTOR. This allows combines of urem_pow2_to_mask in pre-legalizer combiner. Differential Revision: https://reviews.llvm.org/D96122
26 lines
418 B
CMake
26 lines
418 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
|
|
KnownBitsVectorTest.cpp
|
|
GISelUtilsTest.cpp
|
|
)
|