[PATCH] D147812: [InstrProf] Use BalancedPartitioning to order temporal profiling trace data

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 14:53:18 PDT 2023


snehasish added inline comments.


================
Comment at: llvm/include/llvm/Support/BalancedPartitioning.h:42
+
+#include "llvm/ProfileData/InstrProf.h"
+#include "llvm/Support/ThreadPool.h"
----------------
[optional] It seems a bit odd to have an include from llvm/ProfileData -> llvm/Support. Can we forward decl TemporalTraceTy and keep this Support header independent? I think that's the only thing we need from InstrProf in this header but it might require changing the fromTemporalProfTraces API a little bit.

Just a flyby comment, I'm not planning on reviewing the patch in detail since others already spent time looking into it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147812/new/

https://reviews.llvm.org/D147812



More information about the llvm-commits mailing list