[llvm-commits] [llvm-gcc-4.2] r48795 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Duncan Sands baldrick at free.fr
Tue Mar 25 14:14:43 PDT 2008


Hi Devang,

> +  if (optimize_size)
> +    //Reduce inline limit. Default limit is 400.

there should be a space before Reduce.  Also, isn't the comment
about the default likely to get out of date?  So maybe better
to avoid it.

> +    Args.push_back("--inline-threshold=200");

Is it possible to get hold of the default value, divide it by two,
and use that?

Ciao,

Duncan.



More information about the llvm-commits mailing list