2025 US LLVM Developers Meeting: An investigation of missed devirtualization opportunities @LLVMPROJ
2025 US LLVM Developers Meeting: An investigation of missed devirtualization opportunities  @LLVMPROJ
Uploaded November 2025 | Updated September 2026, 2 weeks ago
2025 US LLVM Developers' Meeting

llvm.org/devmtg/2025-10

------

Title: An investigation of missed devirtualization opportunities

Speaker: Ehsan Amiri

------

Slides: llvm.org/devmtg/2025-10/slides/quick_talks/amiri.pdf

-----

We will present two groups of missed opportunities in whole program devirtualization (WPD). Currently we have statistics that shows catching one the two cases will increase the number of devirtualized callsites in some popular C++ open source programs by thousands or hundreds (0.5% to 3.5% of all virtual calls that are not devirtualized by WPD). In both groups of missed opportunities there is enough information to devirtualize the call in the source code and in the same function as the virtual callsite. Unfortunately catching these missed cases does not seem easy. We will discuss why currently devirtualization misses these opportunities and what are the challenges to make it happen. One notable issue that is highlighted during the discussion is the existing tension between WPD and non-strict-aliasing. After reminding this issue using an example, we will discuss why we think a language level improvement is needed to address this issue.

-----

Videos Edited by Bash Films: BashFilms.com
2025 US LLVM Developers Meeting: An investigation of missed devirtualization opportunities2025 AsiaLLVM - Reducing Code Size with Speculative Inlining2025 US LLVM Developers Meeting: A Faster and Simpler Dialect Conversion Driver2025 US LLVM Developers Meeting: ClangIR: Upstreaming an Incubator Project2025 EuroLLVM - MLIR Tensor Compiler Charter Update2025 EuroLLVM - Leveraging nsw in Flangs LLVM IR Generation for Vectorization2026 EuroLLVM - Anatomy of Tiling and Vectorizing linalg.pack and linalg.unpack2026 EuroLLVM - GPU Offload in Rust:Available, Portable and Fast2024 LLVM Dev Mtg - Advancing SPIR-V Backend Stability: Navigating GlobalISel Compromises2025 AsiaLLVM - A technology for lifting machine code to high-performance LLVM IR2025 EuroLLVM - LLDB support for Propeller optimized code2025 US LLVM Developers Meeting: Accelerating ML on Hexagon: A Glimpse into Qualcomms MLIR-Based
LLVM |

2025 US LLVM Developers' Meeting: An investigation of missed devirtualization opportunities

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER