Is there documentation about what types of optimizations clang performs with
the different optimization levels? For example, GCC documents somewhat the
optimization levels here:
On that GCC page, they also state "You can invoke GCC with -Q
--help=optimizers to find out the exact set of optimizations that are
enabled at each level". Does Clang have something similar?