[cfe-dev] Overview of optimization options

van Stratum, Bart bart.vanStratum at mpimet.mpg.de
Mon Jan 26 14:55:00 PST 2015


I’m searching for an overview or documentation of exactly which optimizations are applied with the different compiler flags, but couldn’t find anything in the Clang documentation (or using Google). For example: with -Ofast it seems that -ffast-math is enabled, but exactly which optimizations that enables is unclear to me. GCC has a nice overview for this (https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html, e.g. -ffast-math sets the options ..., -funsafe-math-optimizations, ...", "-funsafe-math-optimizations: allow optimizations for...”, etc.). Is there a similar overview for Clang?

Bart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150126/00db8734/attachment.html>


More information about the cfe-dev mailing list