[llvm] [llvm][ctx_profile] Add instrumentation lowering (PR #90821)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 09:39:31 PDT 2024


================
@@ -8,10 +8,20 @@
 //
 
 #include "llvm/Transforms/Instrumentation/PGOCtxProfLowering.h"
+#include "llvm/Analysis/OptimizationRemarkEmitter.h"
+#include "llvm/IR/Analysis.h"
+#include "llvm/IR/DiagnosticInfo.h"
+#include "llvm/IR/IRBuilder.h"
+#include "llvm/IR/Instructions.h"
+#include "llvm/IR/IntrinsicInst.h"
+#include "llvm/IR/PassManager.h"
 #include "llvm/Support/CommandLine.h"
+#include <utility>
 
 using namespace llvm;
 
+#define DEBUG_TYPE "ctx-profile-lower"
----------------
snehasish wrote:

nit: Make this consistent with the module pass name?

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


More information about the llvm-commits mailing list