[LLVMdev] Disabling assertions in llvm.org releases

Renato Golin rengolin at systemcall.org
Thu Jun 24 04:49:26 PDT 2010


On 24 June 2010 11:16, Duncan Sands <baldrick at free.fr> wrote:
>  * gcc-4.5+dragonegg -S -O3 -> 22% faster with assertions off
>  * opt -std-compile-opts    -> 22% faster with assertions off
>  * llc                      -> 16% faster with assertions off
>
> So turning assertions off seems to give a significant speed-up.

Hi Duncan,

Yes, the numbers speak for themselves. ;)

cheers,
--renato




More information about the llvm-dev mailing list