[LLVMdev] dragonegg svn benchmarks

Chris Lattner clattner at apple.com
Tue Oct 11 14:28:02 PDT 2011

On Oct 8, 2011, at 12:05 PM, Duncan Sands wrote:
> PS: With -fplugin-arg-dragonegg-enable-gcc-optzns the LLVM optimizers are run at
> the following levels:
> Command line option      LLVM optimizers run at
> -------------------      ----------------------
>         -O1              tiny amount of optimization
>     -O2 or -O3                      -O1
>     -O4 or -O5                      -O2
>     -O6 or better                   -O3

Hi Duncan,

Out of curiosity, why do you follow this approach?  People generally use -O2 or -O3.  I'd recommend switching dragonegg to line those up with whatever you want people to use.


More information about the llvm-dev mailing list