[PATCH] llc: Add 'run-pass' option
Duncan P. N. Exon Smith
dexonsmith at apple.com
Thu Jul 2 12:42:12 PDT 2015
> On 2015-Jun-26, at 13:03, Alex Lorenz <arphaman at gmail.com> wrote:
>
> 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
LGTM.
>
> 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/
> <D10776.28591.patch>
More information about the llvm-commits
mailing list