[llvm] [memprof] Update a comment (NFC) (PR #116500)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 16 09:54:22 PST 2024


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/116500

Note that Version0 has been removed in #116442.


>From 4cb2297cccbf496d5d4e4a4d0480c56cf2a590bb Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Sat, 16 Nov 2024 09:51:46 -0800
Subject: [PATCH] [memprof] Update a comment (NFC)

Note that Version0 has been removed in #116442.
---
 llvm/unittests/ProfileData/InstrProfTest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)



More information about the llvm-commits mailing list