mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
c0251c505e
https://reviews.llvm.org/D65698 This adds a KnownBits analysis pass for GISel. This was done as a pass (compared to static functions) so that we can add other features such as caching queries(within a pass and across passes) in the future. This patch only adds the basic pass boiler plate, and implements a lazy non caching knownbits implementation (ported from SelectionDAG). I've also hooked up the AArch64PreLegalizerCombiner pass to use this - there should be no compile time regression as the analysis is lazy. llvm-svn: 368065
21 lines
313 B
CMake
21 lines
313 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
CodeGen
|
|
Core
|
|
GlobalISel
|
|
MC
|
|
MIRParser
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_unittest(GlobalISelTests
|
|
CSETest.cpp
|
|
LegalizerHelperTest.cpp
|
|
LegalizerInfoTest.cpp
|
|
MachineIRBuilderTest.cpp
|
|
GISelMITest.cpp
|
|
PatternMatchTest.cpp
|
|
KnownBitsTest.cpp
|
|
)
|