[PATCH] D158689: [llvm-profdata] Use llvm::DenseMap in SampleProfileMap

William Junda Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 17:51:47 PDT 2023


huangjd added inline comments.


================
Comment at: llvm/include/llvm/ProfileData/SampleProf.h:1575
+    }
+
     // To retain the context, checksum, attributes of the original profile, make
----------------
Since flatten does not change the original sample profile (const reference), applying the same logic to each profile, it should be traversal-order agnostic. Processing the profiles in any order should yield the same results


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158689



More information about the llvm-commits mailing list