[dataflow] remove useless call from fwprop

Kenneth Zadeck zadeck@naturalbridge.com
Wed Mar 28 12:02:00 GMT 2007


Paolo Bonzini wrote:
> Paolo Bonzini wrote:
>   
>> This is one of the most expensive df_* calls, and it costs 1%
>> of compilation time.  No kidding.
>>     
>
> Oops.  The 1% is because I had another patch in my tree.
> Still this cannot hurt.
>
> Paolo
>   
Have you tested this? I would love to get rid of this, but unless you
get rid of

  for (i = 0; i < DF_USES_TABLE_SIZE (); i++)
    {
      struct df_ref *use = DF_USES_GET (i);
      if (use)
    if (!current_loops
        || DF_REF_TYPE (use) == DF_REF_REG_USE
        || DF_REF_BB (use)->loop_father == NULL)
      forward_propagate_into (use);
    }
 
and the other code like it.,
you cannot get rid of that call.



More information about the Gcc-patches mailing list