[llvm] [memprof] Update a comment (NFC) (PR #116500)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 16 09:55:01 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-pgo
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
Note that Version0 has been removed in #<!-- -->116442.
---
Full diff: https://github.com/llvm/llvm-project/pull/116500.diff
1 Files Affected:
- (modified) llvm/unittests/ProfileData/InstrProfTest.cpp (+1-1)
``````````diff
diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp
index cf3cf7fb952738..75b47a18daf49a 100644
--- a/llvm/unittests/ProfileData/InstrProfTest.cpp
+++ b/llvm/unittests/ProfileData/InstrProfTest.cpp
@@ -413,7 +413,7 @@ makeRecordV2(std::initializer_list<::llvm::memprof::CallStackId> AllocFrames,
llvm::memprof::IndexedMemProfRecord MR;
for (const auto &CSId : AllocFrames)
// We don't populate IndexedAllocationInfo::CallStack because we use it only
- // in Version0 and Version1.
+ // in Version1.
MR.AllocSites.emplace_back(::llvm::SmallVector<memprof::FrameId>(), CSId,
Block, Schema);
for (const auto &CSId : CallSiteFrames)
``````````
</details>
https://github.com/llvm/llvm-project/pull/116500
More information about the llvm-commits
mailing list