[llvm-branch-commits] [misexpect] Support diagnostics from frontend profile data (PR #96524)

Teresa Johnson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 22 08:43:04 PDT 2024


================
@@ -3,7 +3,7 @@
 
 ; RUN: llvm-profdata merge %S/Inputs/misexpect-branch-correct.proftext -o %t.profdata
 
-; RUN: opt < %s -passes="function(lower-expect),pgo-instr-use" -pgo-test-profile-file=%t.profdata -pgo-missing-annotations -pass-remarks=missing-annotation -S 2>&1 | FileCheck %s --check-prefix=MISSING_ANNOTATION
+; RUN: opt < %s -passes="function(lower-expect),pgo-instr-use" -pgo-test-profile-file=%t.profdata -pgo-missing-annotations -pass-remarks=missing-annotations -S 2>&1 | FileCheck %s --check-prefix=MISSING_ANNOTATION
----------------
teresajohnson wrote:

Can you clarify how this change relates to the new functionality in this PR?

Also, the description of this test seems wrong? There are also some "CHECK" labels further below that don't have a corresponding FileCheck invocation. Looks like this might be leftover from a different test this is based off of.

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


More information about the llvm-branch-commits mailing list