mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
64b8621170
Add a -verify-use-list-order pass, which shuffles use-list order, writes to bitcode, reads back, and verifies that the (shuffled) order matches. - The utility functions live in lib/IR/UseListOrder.cpp. - Moved (and renamed) the command-line option to enable writing use-lists, so that this pass can return early if the use-list orders aren't being serialized. It's not clear that this pass is the right direction long-term (perhaps a separate tool instead?), but short-term it's a great way to test the use-list order prototype. I've added an XFAIL-ed testcase that I'm hoping to get working pretty quickly. This is part of PR5680. llvm-svn: 213945
27 lines
515 B
CMake
27 lines
515 B
CMake
add_llvm_library(LLVMipo
|
|
ArgumentPromotion.cpp
|
|
BarrierNoopPass.cpp
|
|
ConstantMerge.cpp
|
|
DeadArgumentElimination.cpp
|
|
ExtractGV.cpp
|
|
FunctionAttrs.cpp
|
|
GlobalDCE.cpp
|
|
GlobalOpt.cpp
|
|
IPConstantPropagation.cpp
|
|
IPO.cpp
|
|
InlineAlways.cpp
|
|
InlineSimple.cpp
|
|
Inliner.cpp
|
|
Internalize.cpp
|
|
LoopExtractor.cpp
|
|
MergeFunctions.cpp
|
|
PartialInlining.cpp
|
|
PassManagerBuilder.cpp
|
|
PruneEH.cpp
|
|
StripDeadPrototypes.cpp
|
|
StripSymbols.cpp
|
|
VerifyUseListOrder.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMipo intrinsics_gen)
|