[PATCH] Trim MD results to live registers

Paolo Bonzini bonzini@gnu.org
Mon Nov 30 08:02:00 GMT 2009


On 11/28/2009 12:37 PM, Eric Botcazou wrote:
> +/* The MD bitmaps are trimmed to include only live registers to cut
> +   memory usage on testcases like insn-recog.c.  Track live registers
> +   in the basic block and do not perform forward propagation if the
> +   destination is a dead pseudo occurring in a note.  */
> +bitmap local_md;
> +bitmap local_lr;
>
> is not pretty.  At least make them 'static'.

Right.  I also made static the three vectors right above these:

static VEC(df_ref,heap) *use_def_ref;
static VEC(df_ref,heap) *reg_defs;
static VEC(df_ref,heap) *reg_defs_stack;

Thanks,

Paolo



More information about the Gcc-patches mailing list