[llvm] [ctx_prof] Profile flatterner (PR #104539)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 22:02:22 PDT 2024


================
@@ -18,6 +20,9 @@ namespace llvm {
 
 class CtxProfAnalysis;
 
+using CtxProfFlatProfile =
+    DenseMap<GlobalValue::GUID, SmallVector<uint64_t, 16>>;
----------------
boomanaiden154 wrote:

Was the value 16 here chosen arbitrarily or is there some data supporting it?

Probably not necessary to have much more than intuition here, but wouldn't hurt to have a data-backed value.

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


More information about the llvm-commits mailing list