On Tue, Jan 24, 2012 at 10:26:28PM +0100, Eric Botcazou wrote:
> +static bool
> +is_too_expensive (const char *pass)
> +{
> + int ratio = DF_USES_TABLE_SIZE () / (n_basic_blocks - NUM_FIXED_BLOCKS);
> +
> + /* Trying to propagate into uses in functions with gigantic basic blocks
> + will take a long time and is unlikely to be particularly useful. */
> + if (ratio > 20000)
Use a param for this instead of constant?
Jakub
