llvm-project/llvm/tools/opt
Keno Fischer 04464cf731 [llc/opt] Add an option to run all passes twice
Summary: Lately, I have submitted a number of patches to fix bugs that
only occurred when using the same pass manager to compile multiple
modules (generally these bugs are failure to reset some persistent
state). Unfortunately I don't think there is currently a way to test
that from the command line. This adds a very simple flag to both llc
and opt, under which the tools will simply re-run their respective
pass pipelines using the same pass manager on (a clone of the same
module). Additionally, we verify that both outputs are bitwise the
same.

Reviewers: yaron.keren

Subscribers: loladiro, yaron.keren, kcc, llvm-commits

Differential Revision: http://reviews.llvm.org/D14965

llvm-svn: 254774
2015-12-04 21:56:46 +00:00
..
AnalysisWrappers.cpp
BreakpointPrinter.cpp IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
BreakpointPrinter.h
CMakeLists.txt [PM/AA] Remove the last relics of the separate IPA library from LLVM, 2015-08-18 17:51:53 +00:00
GraphPrinters.cpp
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Makefile [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
NewPMDriver.cpp uselistorder: Pull the bit through PrintModulePass 2015-04-15 02:38:06 +00:00
NewPMDriver.h uselistorder: Pull the bit through PrintModulePass 2015-04-15 02:38:06 +00:00
PassPrinters.cpp
PassPrinters.h
PrintSCC.cpp
opt.cpp [llc/opt] Add an option to run all passes twice 2015-12-04 21:56:46 +00:00