[llvm] [PGO] Ensure non-zero entry-count after `populateCounters` (PR #112029)
Michael O'Farrell via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 19:58:03 PDT 2024
================
@@ -0,0 +1,28 @@
+; RUN: llvm-profdata merge %S/Inputs/fix_entry_count_sampled.proftext -o %t.profdata
+; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
----------------
mofarrell wrote:
Certainly. This followed the neighboring tests `fix_entry_count.ll`'s style, which is testing similar functionality.
https://github.com/llvm/llvm-project/pull/112029
More information about the llvm-commits
mailing list