[all-commits] [llvm/llvm-project] f97eb1: [NFC][Sample PGO] Avoid non-const accessor for Cal...
WenleiHe via All-commits
all-commits at lists.llvm.org
Wed Jun 28 13:44:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f97eb1dd8f08e6cb37584bb3bb3d54dc320cff19
https://github.com/llvm/llvm-project/commit/f97eb1dd8f08e6cb37584bb3bb3d54dc320cff19
Author: Wenlei He <aktoon at gmail.com>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Changed paths:
M llvm/include/llvm/ProfileData/SampleProf.h
Log Message:
-----------
[NFC][Sample PGO] Avoid non-const accessor for CallsiteSamples
Exposing a non-const accessor for clearing CallsiteSamples during flattening is a big of an overkill. Replace the non-const accessor with removeAllCallsiteSamples.
Differential Revision: https://reviews.llvm.org/D153995
More information about the All-commits
mailing list