Presented at Core C++ meetup, Apr 2023 (www.meetup.com...)
OptView2 helping the compiler generate better code
Optimization remarks are Clang's logs of optimization passes, which include leads into optimization failures that might be mitigated. Deciphering raw optimization remarks seems a matter for compiler authors and select few experts, but a little-known tool called opt-viewer aims to change that - in particular with recent improvements by myself and others.
About 50% of the talk would be dedicated to real examples of missed optimizations. Most turn out to be escape-analysis and alias-analysis related, and we will devote time to discuss these in some depth. We will also extend the discussion to other compilers and even other languages.
If you care about performance there's an excellent chance you'd leave this talk with immediately actionable insights and surprising ways to check and improve your code in performance bottlenecks
-----
Ofek Shilon
Mathematician by training but 20Y C++ developer by practice, writer and speaker in both the Linux and MS universes. Fascinated by compilers, debuggers and pretty much anything low level. Fiercely hated by his cat for no apparent reason.
Негізгі бет Ofek Shilon :: Compiler Optimizations
Пікірлер: 2