[llvm] [ctxprof] Scale up everything under a root by its `TotalRootEntryCount` (PR #136015)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 20 16:16:26 PDT 2025


================
@@ -44,11 +44,13 @@
 ; PIPELINE-LABEL: loop:
 ; PIPELINE:         br i1 %cond, label %loop, label %exit, !prof ![[LOOP_BW_ORIG:[0-9]+]]
 
-; PIPELINE: ![[ENTRYPOINT_COUNT]] = !{!"function_entry_count", i64 10}
+; NOTE! all values are multiplied by the TotalRootEntryCount, which is 24
----------------
snehasish wrote:

nit: `COM:` prefix for comments in tests. 

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


More information about the llvm-commits mailing list