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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 22 11:47:39 PDT 2025


================
@@ -1142,6 +1142,11 @@ bool DevirtIndex::tryFindVirtualCallTargets(
         if (LocalFound)
           return false;
         LocalFound = true;
+      } else {
+        // Don't expect to find a mix of locals and non-locals (due to path
+        // prefix for locals one should never have the same GUID as a
+        // non-local).
+        assert(!LocalFound);
----------------
teresajohnson wrote:

I'm going to update this PR to rebase it on top of PR 164647, and this assert is no longer relevant in any case.

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


More information about the llvm-commits mailing list