[all-commits] [llvm/llvm-project] 180a53: [ProfileData] Fix the order of tests (#95549)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Fri Jun 14 09:18:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 180a536665127bded6c7ef1755e9dd0edfa8802f
https://github.com/llvm/llvm-project/commit/180a536665127bded6c7ef1755e9dd0edfa8802f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Fix the order of tests (#95549)
Without this patch, we call getValueForSite before veryfing that we
have an expected number of value sites with getNumValueSites.
This patch fixes the order by "sinking" the call to getValueForSite.
While I am at it, this patch migrates the use of getValueForSite to
getValueArrayForSite.
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