[all-commits] [llvm/llvm-project] 97dc50: [BOLT] Match functions with name similarity (#95884)
Shaw Young via All-commits
all-commits at lists.llvm.org
Wed Jul 3 11:39:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 97dc50882cbc63d7098e95f73f242185c75c226b
https://github.com/llvm/llvm-project/commit/97dc50882cbc63d7098e95f73f242185c75c226b
Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/include/bolt/Profile/YAMLProfileReader.h
M bolt/lib/Profile/YAMLProfileReader.cpp
A bolt/test/X86/name-similarity-function-matching.test
Log Message:
-----------
[BOLT] Match functions with name similarity (#95884)
A mapping - from namespace to associated binary functions - is used to
match function profiles to binary based on the
'--name-similarity-function-matching-threshold' flag set edit distance
threshold. The flag is set to 0 (exact name matching) by default as it is
expensive, requiring the processing of all BFs.
Test Plan: Added name-similarity-function-matching.test. On a binary
with 5M functions, rewrite passes took ~520s without the flag and
~2018s with the flag set to 20.
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