[PATCH] llc: Add 'run-pass' option
Alex Lorenz
arphaman at gmail.com
Fri Jun 26 13:03:49 PDT 2015
Hi bob.wilson, dexonsmith, bogner,
This patch adds a 'run-pass' option to llc, which runs the compiler only for one specified pass.
Llc already has a 'start-after' and 'stop-after' option, and this option complements the other two by making
it easier to write tests that want to invoke a single pass only. The existing 'start-after' and 'stop-after' options
allow this already, but it's kind of awkward as you have to specify a name of an unrelated pass that runs before the
pass you want to test for the 'start-after' option.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10776
Files:
include/llvm/CodeGen/CommandFlags.h
include/llvm/CodeGen/Passes.h
include/llvm/Target/TargetMachine.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/Passes.cpp
lib/Target/CppBackend/CPPBackend.cpp
lib/Target/CppBackend/CPPTargetMachine.h
test/CodeGen/Generic/run-pass.ll
tools/llc/llc.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10776.28591.patch
Type: text/x-patch
Size: 11892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150626/4d17a7fc/attachment.bin>
More information about the llvm-commits
mailing list