[llvm] r232769 - libLTO, llvm-lto, gold: Introduce flag for controlling optimization level.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Mon Mar 23 14:52:41 PDT 2015
On Thu, Mar 19, 2015 at 3:01 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
> +static cl::opt<char>
> +OptLevel("O",
> + cl::desc("Optimization level. [-O0, -O1, -O2, or -O3] "
> + "(default = '-O2')"),
This means LTO now defaults to -O2 - rather than the previous -O3 -
for CodeGenOpt, right? That seems like a somewhat important change,
affecting all LTO users.
Don't get me wrong, I think it's for the best, but people involved
with performance might be interested in this.
-Ahmed
More information about the llvm-commits
mailing list