Dump before flag

Diego Novillo dnovillo@google.com
Tue Jun 7 17:26:00 GMT 2011


On Tue, Jun 7, 2011 at 10:06, Xinliang David Li <davidxl@google.com> wrote:
> On Tue, Jun 7, 2011 at 10:01 AM, Diego Novillo <dnovillo@google.com> wrote:
>> On Tue, Jun 7, 2011 at 09:51, Xinliang David Li <davidxl@google.com> wrote:
>>> Any suggestions on the dump position specification string, before and
>>> after is not enough. How about
>>>
>>> start, before, after, and finish?
>>>
>>> I.e.
>>>
>>> -fdump-tree-pre-start --> dump IR before TODO_start of PRE pass
>>> -fdump-tree-pre-before --> dump IR just before PRE after its TODO start finishes
>>
>> What would be the difference between these two?  The TODO_start
>> actions don't affect the IL, in general.
>
> But by design, it can right?

Hmm, now that I think of it, yes it can.  There are some TODOs that
may modify the IL.  For instance, in PRE we split or critical edges
before the pass starts (I think we still do, not sure).


Diego.



More information about the Gcc-patches mailing list