[llvm] [MemProf] Disable hot hints by default, otherwise convert to NotCold (PR #124219)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 18:41:14 PST 2025
================
@@ -10,7 +10,9 @@
;; $ clang++ -gmlt -fdebug-info-for-profiling -S %S/Inputs/memprof_loop_unroll_b.cc -emit-llvm
; RUN: llvm-profdata merge %S/Inputs/memprof_loop_unroll.memprofraw --profiled-binary %S/Inputs/memprof_loop_unroll.exe -o %t.memprofdata
-; RUN: opt < %s -passes='memprof-use<profile-filename=%t.memprofdata>' -S -memprof-report-hinted-sizes 2>&1 | FileCheck %s
+;; Set the minimum lifetime threshold to 0 to ensure that one context is
----------------
teresajohnson wrote:
This change is necessary because previously one context was NotCold and the other was Hot, and now they were both NotCold, changing the test behavior.
https://github.com/llvm/llvm-project/pull/124219
More information about the llvm-commits
mailing list