[llvm] [WPD] Reduce ThinLTO link time by avoiding unnecessary summary analysis (PR #164046)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 17 23:54:53 PDT 2025


mingmingl-llvm wrote:

> Note that we previously took the last conforming vtable summary, and now
we use the first. This caused a test difference in one somewhat
contrived test for vtables in comdats.

IIUC this is an artifact of `llvm-lto2 run %t3.o %t4.o` and summary iteration order.

Before this change the loop uses the last vtable, and after this change the loop exits after finding the first vtable, so WAI (the `break` takes effect).



https://github.com/llvm/llvm-project/pull/164046


More information about the llvm-commits mailing list