[llvm] [ctx_prof] Fix checks in `PGOCtxprofFlattening` (PR #108467)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 14:54:57 PDT 2024


================
@@ -47,18 +47,21 @@
 ; NOPROF-1-NOT: m2_f1()
 ; NOPROF-2-NOT: m1_f1()
 ;
-; The run with workload definitions - same other options.
+; The run with workload definitions - same other options. We do need to re-generate the .bc
+; files, to include instrumentation.
----------------
mtrofin wrote:

These functions have no edges. Before, the validation had to do with edges, now we insist all counters are defined.

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


More information about the llvm-commits mailing list