[PATCH, 6/6] Remove first_pass_instance

Tom de Vries Tom_deVries@mentor.com
Sun Nov 15 22:55:00 GMT 2015


[ Adding CC Le-Chun Wu ]

On 15/11/15 17:22, Tom de Vries wrote:
> On 15/11/15 16:24, David Malcolm wrote:
>> On Sun, 2015-11-15 at 12:08 +0100, Tom de Vries wrote:
>>> On 15/11/15 11:55, Tom de Vries wrote:
>>>> [ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ]
>>>>
>>>> This patch series removes first_pass_instance.
>>>>
>>>>        1    Remove first_pass_instance from pass_vrp
>>>>        2    Remove first_pass_instance from pass_reassoc
>>>>        3    Remove first_pass_instance from pass_dominator
>>>>        4    Remove first_pass_instance from pass_object_sizes
>>>>        5    Remove first_pass_instance from pass_ccp
>>>>        6    Remove first_pass_instance
>>>>
>>>> Bootstrapped and reg-tested on x86_64.
>>>>
>>>> I will post the individual patches in reply to this email.
>>>>
>>>> [ I won't post the first patch though. It was already posted here:
>>>> https://gcc.gnu.org/ml/gcc-patches/2015-11/msg01701.html . ]
>>>
>>> this patch removes the variable first_pass_instance.
>>
>> Can we also get rid of TODO_mark_first_instance, or would that be a
>> followup?
>
> TODO_mark_first_instance is used in position_pass, which AFAIU is used
> in the plugin infrastructure. I'm not familiar with the plugin
> infrastructure and concepts, so I can't say anything sensible about
> whether we can get rid of the flag.
>
> Thanks,
> - Tom



More information about the Gcc-patches mailing list