[LLVMdev] Inlining and virtualization in Clang/LLVM
kparzysz at codeaurora.org
Sat Sep 29 20:15:50 PDT 2012
On 9/29/2012 8:39 AM, Matthieu Monrocq wrote:
> I admit that reducing the virtual call overhead is probably not really
> worth it (in general), however devirtualizing calls also expose more
> inlining/context opportunities and it's hard (for me) to quantify what
> such an optimization could bring here.
More precise aliasing information, eliminating the need for a thunk (or
likes of it), removing the unpredicability of the indirect branch, etc.
If you can get rid of an indirect branch in favor of a direct one,
it's a win.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev