Optimization remarks
The compiler's own account of which optimizations it performed, which it passed on, and why.
An optimizer makes thousands of decisions per file and normally mentions none of them. Remarks are the window in. In Clang, -Rpass=inline prints a line for every inlined call, -Rpass-missed=loop-vectorize lists the loops that didn't get vectorized, and -Rpass-analysis explains why — a possible alias between two pointers, say. -fsave-optimization-record dumps the lot as YAML, which opt-viewer turns into HTML with the remarks laid over the source. GCC offers the equivalent under -fopt-info.
It is usually the quickest way to find out why a hot loop is slow. The answer is rarely that the compiler is stupid, and more often that it couldn't prove something the programmer took for granted.