[llvm] 993d238 - [ctx_prof] Remove `Buffer` field in PGOCtxProfWriter
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 21:23:26 PDT 2024
Author: Mircea Trofin
Date: 2024-06-27T21:23:18-07:00
New Revision: 993d2383e68b22475cbd734b4e194911cf15df2f
URL: https://github.com/llvm/llvm-project/commit/993d2383e68b22475cbd734b4e194911cf15df2f
DIFF: https://github.com/llvm/llvm-project/commit/993d2383e68b22475cbd734b4e194911cf15df2f.diff
LOG: [ctx_prof] Remove `Buffer` field in PGOCtxProfWriter
Not needed anymore after PR #92983, and moreover, creating the same issue c49bc1a3b782e38e4ffb5b274f1e7775af6c2315 fixed in `BitcodeWriter.cpp`.
Added:
Modified:
llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h b/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
index e8b75d6f8cf4b..f91a695cab274 100644
--- a/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
+++ b/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
@@ -60,7 +60,6 @@ enum PGOCtxProfileBlockIDs {
/// example, value profiling would produce a new record with a new record ID,
/// containing the profiled values (much like the counters)
class PGOCtxProfileWriter final {
- SmallVector<char, 1 << 20> Buff;
BitstreamWriter Writer;
void writeCounters(const ctx_profile::ContextNode &Node);
More information about the llvm-commits
mailing list