[all-commits] [llvm/llvm-project] 4959e8: [BOLT][NFCI] Use heuristic for matching split glob...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri Jun 20 12:47:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4959e8a1dadd96499d701bcf02cd9b25dba98c98
      https://github.com/llvm/llvm-project/commit/4959e8a1dadd96499d701bcf02cd9b25dba98c98
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/test/X86/register-fragments-bolt-symbols.s

  Log Message:
  -----------
  [BOLT][NFCI] Use heuristic for matching split global functions (#90429)

This change speeds up fragment matching for large BOLTed binaries where
all fragments of global parent functions are put under `bolt-pseudo.o`
file symbol:
- before: iterating over symbols under `bolt-pseudo.o` only to fail
  to find a parent,
- after: bail out immediately and use a global parent by name.

Test Plan: NFC, updated register-fragments-bolt-symbols.s



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list