[all-commits] [llvm/llvm-project] bf6deb: [FunctionSpecialization] Fix profile count preserv...
Alan Zhao via All-commits
all-commits at lists.llvm.org
Wed Sep 10 23:22:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf6debcfe18866269eb370f470d84e010957171b
https://github.com/llvm/llvm-project/commit/bf6debcfe18866269eb370f470d84e010957171b
Author: Alan Zhao <ayzhao at google.com>
Date: 2025-09-11 (Thu, 11 Sep 2025)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
M llvm/test/Transforms/FunctionSpecialization/profile-counts.ll
M llvm/utils/profcheck-xfail.txt
Log Message:
-----------
[FunctionSpecialization] Fix profile count preserving logic (#157939)
The previous fix in #157768 had a bug; instead of subtracting the
original function's call count per call site of a specialization, we
were subtracting the running total of the specialization's calls.
Tracking issue: #147390
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