Optimization Remarks - helping the compiler generate better code

Optimization remarks are logs of Clang's optimization passes, describing optimization attempts and failures - which might be mitigated. Sometimes. Deciphering them might seem a matter for compiler authors, but we can kick-start this effort together.

About 50% of the talk would be dedicated to practical examples of missed optimizations and mitigations - with emphasis on alias analysis and escape-analysis. We will also discuss other compilers and even other languages.

Image

Ofek Shilon

A Mathematics MA by training, but a 20Y C++ developer, writer and speaker in both the Linux and MS universes. Member of the maintainers team of Compiler-Explorer (==godbolt). Fascinated by compilers, debuggers and pretty much anything low level. Fiercely hated by his cat for no apparent reason.

When

July 21-24, 2024

LinkedIn

CppNorth Group