Displaying 3 results from an estimated 3 matches for "inv_num".
Did you mean:
in_num
2011 Dec 07
0
[LLVMdev] Adding option to LLVM opt to disable a specific pass from command line
Hello,
On Dec 7, 2011, at 2:07 AM, Seb wrote:
> Hi all,
>
> I would like to add an option for LLVM 'opt' to disable a specific optimization pass from command line.
>
> The idea is to have something like:
>
> opt -O2 -disable-pass=[passname,...]
>
> Do you think it could be useful ?
I have few questions :
- Why (and when) would you us this ?
- Some of the
2011 Dec 07
2
[LLVMdev] Adding option to LLVM opt to disable a specific pass from command line
Hi all,
I would like to add an option for LLVM 'opt' to disable a specific
optimization pass from command line.
The idea is to have something like:
opt -O2 -disable-pass=[passname,...]
Do you think it could be useful ? How should I proceed to develop it and
commit changes to LLVM trunk ?
Thanks for your advices and recommandations.
Best Regards
Seb
-------------- next part
2011 Dec 08
3
[LLVMdev] Adding option to LLVM opt to disable a specific pass from command line
...the passes are executed multiple times, how would you select
> which invocation to disable ? Or would you disable all invocation of such
> passes ?
>
By default I guess I would like to disable all invocation of such passes.
We could also imagine to have an option -disable-pass=[pass_name:inv_num,
...] to deal with multiple invocation.
- Some passes are required by another passes. In such cases PassManager
> will insist on running them, which may conflict with the user request from
> command line. Who wins?
>
How to I know that a pass is required by another ?
Let's say give...