[llvm] [nfc]remove unused variable after pr/81691 (PR #82578)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 21:09:07 PST 2024
https://github.com/minglotus-6 created https://github.com/llvm/llvm-project/pull/82578
None
>From 4f13252a9ee05c863b3c4f11be4d8cdbbe6cd615 Mon Sep 17 00:00:00 2001
From: mingmingl <mingmingl at google.com>
Date: Wed, 21 Feb 2024 21:08:21 -0800
Subject: [PATCH] [nfc]remove unused variable
---
llvm/lib/ProfileData/InstrProfWriter.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp
index e5163ebe8ae37a..3e0a0e0d70116d 100644
--- a/llvm/lib/ProfileData/InstrProfWriter.cpp
+++ b/llvm/lib/ProfileData/InstrProfWriter.cpp
@@ -456,7 +456,6 @@ Error InstrProfWriter::writeImpl(ProfOStream &OS) {
Header.BinaryIdOffset = 0;
Header.TemporalProfTracesOffset = 0;
Header.VTableNamesOffset = 0;
- int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t);
// Only write out the first four fields. We need to remember the offset of the
// remaining fields to allow back patching later.
More information about the llvm-commits
mailing list