[PATCH] Add a callback to FunctionPass to enable skipping execution on a per-function basis

Akira Hatanaka ahatanak at gmail.com
Tue Apr 21 22:21:32 PDT 2015


Ping.

Any comments on the updated patch?

On Thu, Apr 9, 2015 at 2:40 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:

> Here is the updated patch.
>
> In addition to making changes necessary to pass the predicate to the
> passes' constructors, I moved the piece of code in lib/CodeGen/Passes.cpp
> which adds passes in InsertedPasses to the pass pipeline. This change was
> necessary to enable inserting the machineinstr-printer pass via command
> line option -print-machineinstrs (two tests,
> CodeGen/ARM/ifcvt-branch-weight-bug.ll and ifcvt-branch-weight.ll, fail
> without this change).
>
>
> http://reviews.llvm.org/D8717
>
> Files:
>   include/llvm/CodeGen/Passes.h
>   include/llvm/Pass.h
>   include/llvm/Transforms/Scalar.h
>   lib/CodeGen/IfConversion.cpp
>   lib/CodeGen/MachineInstrBundle.cpp
>   lib/CodeGen/Passes.cpp
>   lib/Target/ARM/ARM.h
>   lib/Target/ARM/ARMTargetMachine.cpp
>   lib/Target/ARM/Thumb2SizeReduction.cpp
>   lib/Transforms/Scalar/SimplifyCFGPass.cpp
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150421/e2bb7a27/attachment.html>


More information about the llvm-commits mailing list