[all-commits] [llvm/llvm-project] 76981f: [BOLT] Add fuzzy function name matching for LLVM LTO
maksfb via All-commits
all-commits at lists.llvm.org
Wed Apr 20 17:00:57 PDT 2022
Author: Maksim Panchenko <maks at fb.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
[BOLT] Add fuzzy function name matching for LLVM LTO
LLVM with LTO can generate function names in the form
func.llvm.<number>, where <number> could vary based on the compilation
environment. As a result, if a profiled binary originated from a
different build than a corresponding binary used for BOLT optimization,
then profiles for such LTO functions will be ignored.
To fix the problem, use "fuzzy" matching with "func.llvm.*" form.
Reviewed By: yota9, Amir
Differential Revision: https://reviews.llvm.org/D124117
More information about the All-commits