
Compiler Optimization Remarks 1/3
Recent compilers can provide insights, called optimization remarks, into the
optimizations applied (or not applied) during the compilation process.
The reports help developers understand how the compiler transforms code and identify
areas where optimizations are not applied. Such information is useful to improve
performance, memory usage, and binary size.
Typical examples of optimization passes include:
• licm : Loop invariant code motion
• loop-vectorize : Loop vectorization optimization
• size-info : number of IR instructions
• gvn : Global value numbering
• inline : Function inlining
• loop-unroll : Loop unrolling
24/89