[llvm] [InstrProf] Add pgo use block coverage test (PR #72443)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 13:55:54 PST 2023


================
@@ -1,14 +1,20 @@
-; RUN: opt < %s -passes=pgo-instr-gen -pgo-function-entry-coverage -S | FileCheck %s --implicit-check-not="instrprof.cover" --check-prefixes=CHECK,ENTRY
-; RUN: opt < %s -passes=pgo-instr-gen -pgo-block-coverage -S | FileCheck %s --implicit-check-not="instrprof.cover" --check-prefixes=CHECK,BLOCK
+; RUN: opt < %s -passes=pgo-instr-gen -pgo-function-entry-coverage -S | FileCheck %s --implicit-check-not="instrprof.cover" --check-prefixes=CHECK,GEN,ENTRY
----------------
snehasish wrote:

Does --check-prefixes need the "CHECK" item now? It looks like the uses were replaced by GEN. And the other strings that match in this file are CHECK-LABEL directives. 

(Same for the other run commands)

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


More information about the llvm-commits mailing list