Overview
Explore LLVM optimization remarks and their role in generating better code in this CppCon 2022 conference talk. Delve into Clang's logs of optimization passes, focusing on optimization failures and potential mitigations. Learn about the opt-viewer tool and its recent improvements for deciphering raw optimization remarks. Examine real-world examples of missed optimizations, with emphasis on escape-analysis and alias-analysis related issues. Gain insights into performance bottlenecks and discover actionable ways to check and improve code efficiency. Compare optimization techniques across different compilers and programming languages, including Rust and Carbon. Leave with valuable knowledge to enhance code performance and optimize compiler output.
Syllabus
LLVM Optimization Remarks - Ofek Shilon - CppCon 2022
Taught by
CppCon