[llvm] [PGO] Ensure non-zero entry-count after `populateCounters` (PR #112029)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 16:08:54 PDT 2024


================
@@ -0,0 +1,28 @@
+; RUN: llvm-profdata merge %S/Inputs/fix_entry_count_sampled.proftext -o %t.profdata
----------------
ellishg wrote:

Since this input `.proftext` file is only used for this test, can we use `split-file` and inline it here?

https://llvm.org/docs/TestingGuide.html#extra-files

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


More information about the llvm-commits mailing list