[llvm] [NFC][InstrProf] Move `InstrProfiling` to the .cpp file (PR #75018)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 14:29:30 PST 2023


================
@@ -13,21 +13,14 @@
 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_INSTRPROFILING_H
 #define LLVM_TRANSFORMS_INSTRUMENTATION_INSTRPROFILING_H
 
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/IR/IntrinsicInst.h"
 #include "llvm/IR/PassManager.h"
 #include "llvm/ProfileData/InstrProf.h"
----------------
mtrofin wrote:

Still need `Instrumentation.h` for `InstrProfOptions`, but yes.

https://github.com/llvm/llvm-project/pull/75018


More information about the llvm-commits mailing list