[llvm] dc62bc8 - [nfc][ctx_prof] Remove spurious `#include` in PGOCtxProfFlattening.cpp

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 15:44:22 PDT 2024


Author: Mircea Trofin
Date: 2024-09-06T15:42:46-07:00
New Revision: dc62bc8909d8136f8cd9d9ae3efc064e5aa712d7

URL: https://github.com/llvm/llvm-project/commit/dc62bc8909d8136f8cd9d9ae3efc064e5aa712d7
DIFF: https://github.com/llvm/llvm-project/commit/dc62bc8909d8136f8cd9d9ae3efc064e5aa712d7.diff

LOG: [nfc][ctx_prof] Remove spurious `#include` in PGOCtxProfFlattening.cpp

Re. PR ##107329, 2 includes weren't necessary - the CodeGen one, in
particular, seemed accidentally (IDE) introduced.

Added: 
    

Modified: 
    llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp b/llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp
index 3fc0de7cabe322..92c5c91c94a61c 100644
--- a/llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp
+++ b/llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp
@@ -22,9 +22,7 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/ScopeExit.h"
 #include "llvm/Analysis/CtxProfAnalysis.h"
-#include "llvm/Analysis/OptimizationRemarkEmitter.h"
 #include "llvm/Analysis/ProfileSummaryInfo.h"
-#include "llvm/CodeGen/MachineBasicBlock.h"
 #include "llvm/IR/Analysis.h"
 #include "llvm/IR/CFG.h"
 #include "llvm/IR/Dominators.h"


        


More information about the llvm-commits mailing list