This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -fdump-passes -fenable-xxx=func_name_list


On Fri, Jun 10, 2011 at 2:03 AM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> On Fri, Jun 10, 2011 at 12:51 AM, Xinliang David Li <davidxl@google.com> wrote:
>> Patch is temporally rolled back.
>>
>> Richard, looks like deeper pass manager cleanup is needed -- I would
>> like to delay that. For now, this leaves us two choices -- 1) do cfunc
>> push/pop, or 2) do pass dump while executing. None of them is ideal,
>> but safe enough.
>
> Well. ?It seems we should take a step back and look at the whole picture
> and try to figure out how it should look like in the end (maybe do that
> in London).
>
> For now I prefer 1) over 2).

That sounds good. For now I will check in 1) (as it has no impact on
default behavior) and do pass clean up later. I won't be in London for
discussion, but you let me know how the discussion goes.

Thanks,

David

>
> Thanks,
> Richard.
>
>> Thanks,
>>
>> David
>>
>> On Thu, Jun 9, 2011 at 3:32 PM, Xinliang David Li <davidxl@google.com> wrote:
>>> Though I can not reproduce it, it might be related to what Richard
>>> mentioned in the review -- The TODO's are executed though the pass is
>>> not. This opened up a can of worm -- I will revert the patches for
>>> now.
>>>
>>> David
>>>
>>>
>>> On Thu, Jun 9, 2011 at 3:05 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>>> On Tue, Jun 7, 2011 at 11:54 AM, Xinliang David Li <davidxl@google.com> wrote:
>>>>> Please review the attached two patches.
>>>>>
>>>>> In the first patch, gate functions are cleaned up. All the per
>>>>> function legality checks are moved into the executor and the
>>>>> optimization heuristic checks (optimize for size) remain in the
>>>>> gators. These allow the the following overriding order:
>>>>>
>>>>> ? ?common flags (O2, -ftree-vrp, -fgcse etc) ? <--- ?compiler
>>>>> heuristic (optimize for size/speed) <--- -fdisable/enable forcing pass
>>>>> options ?<--- legality check
>>>>>
>>>>> Testing under going. Ok for trunk?
>>>>>
>>>>
>>>> This caused:
>>>>
>>>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49350
>>>>
>>>> --
>>>> H.J.
>>>>
>>>
>>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]