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

Eric Christopher echristo at gmail.com
Tue May 26 15:06:45 PDT 2015


I just sent another mail out on it, but there is an inline comment I'd like
answered before committing. It's definitely the direction I was going with
it, and it seems reasonable.

You may want to wait for Chandler to OK it as well as I doubt it hit his
mailbox until now since he wasn't cc'd on your ping :)

-eric

On Tue, Apr 21, 2015 at 10:25 PM Akira Hatanaka <ahatanak at gmail.com> wrote:

> 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/
>>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150526/4de5be9a/attachment.html>


More information about the llvm-commits mailing list