[llvm] r232769 - libLTO, llvm-lto, gold: Introduce flag for controlling optimization level.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Jul 14 11:53:56 PDT 2015


On 14 July 2015 at 08:15, Chad Rosier <mcrosier at codeaurora.org> wrote:
> Hi Peter,
> Do we need to handle -Os and -Oz better?   Currently, these options will
> report a fatal error in the gold plugin.

What should it do?

All that the API has is a "unsigned optLevel". It is not clear if we
should have a size optimization option at this point. All cases that
need size optimization should already be converted to function
attributes, no?

Cheers,
Rafael



More information about the llvm-commits mailing list