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