[llvm] [nfc] Update header in llvm-ctxprof-utils (PR #122544)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 15:05:23 PST 2025
https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/122544
None
>From 72635af651fafd68c3a8e2d5419685f881f84f6e Mon Sep 17 00:00:00 2001
From: Mircea Trofin <mtrofin at google.com>
Date: Fri, 10 Jan 2025 12:47:04 -0800
Subject: [PATCH] [nfc] Update header in llvm-ctxprof-utils
---
llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp b/llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp
index 485f6c7d33d902..2cf6d7613bdc92 100644
--- a/llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp
+++ b/llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp
@@ -1,4 +1,4 @@
-//===--- PGOCtxProfJSONReader.h - JSON format ------------------*- C++ -*-===//
+//===--- llvm-ctxprof-util - utilities for ctxprof --------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,19 +8,15 @@
///
/// \file
///
-/// JSON format for the contextual profile for testing.
+/// Utilities for manipulating contextual profiles
///
//===----------------------------------------------------------------------===//
-#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/GlobalValue.h"
-#include "llvm/ProfileData/CtxInstrContextNode.h"
#include "llvm/ProfileData/PGOCtxProfWriter.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
-#include "llvm/Support/InitLLVM.h"
-#include "llvm/Support/JSON.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
More information about the llvm-commits
mailing list