[all-commits] [llvm/llvm-project] 9ad102: [ProfileData] Migrate to getValueArrayForSite (#95...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Fri Jun 14 06:39:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ad102f03b350c79256011cd272f27808cb61a39
https://github.com/llvm/llvm-project/commit/9ad102f03b350c79256011cd272f27808cb61a39
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Migrate to getValueArrayForSite (#95493)
This patch migrates uses of getValueForSite to getValueArrayForSite.
Each hunk is self-contained, meaning that each one can be applied
independently of the others.
In the unit test, there are cases where the array length check is
performed a lot earlier than the array content check. For now, I'm
leaving the length checks where they are. I'll consider moving them
when I migrate uses of getNumValueDataForSite to getValueArrayForSite
in a follow-up patch.
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