[ProfCheck] Mark Some profverify Tests as Unsupported (#167544)

These tests fail in the profcheck configuration because profinject gets
added to the pipeline and adds metadata that changes the input PGO
information.
This commit is contained in:
Aiden Grossman 2025-11-11 09:50:48 -08:00 committed by GitHub
parent 04df359ae1
commit 1a4c19d4e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,7 @@
; This test fails under the profcheck configuration due to profcheck creating
; metadata.
; UNSUPPORTED: profcheck
; Test prof-verify for functions without entry count
; RUN: not opt -passes=prof-verify %s -o - 2>&1 | FileCheck %s

View File

@ -1,3 +1,7 @@
; This test fails under the profcheck configuration due to profcheck creating
; metadata.
; UNSUPPORTED: profcheck
; Test prof-inject and prof-verify
; RUN: opt -passes=prof-inject %s -S -o - | FileCheck %s --check-prefix=INJECT

View File

@ -1,3 +1,7 @@
; This test fails under the profcheck configuration due to profcheck creating
; metadata.
; UNSUPPORTED: profcheck
; RUN: split-file %s %t
; RUN: opt -passes=prof-inject %t/inject.ll -S -o - | FileCheck %t/inject.ll

View File

@ -69,6 +69,8 @@ if config.enable_profcheck:
# profiling doesn't work quite well on GPU, excluding
config.excludes.append("AMDGPU")
config.available_features.add("profcheck")
# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)

View File

@ -614,9 +614,6 @@ Transforms/PGOProfile/chr-lifetimes.ll
Transforms/PGOProfile/chr-poison.ll
Transforms/PGOProfile/comdat.ll
Transforms/PGOProfile/memop_profile_funclet_wasm.ll
Transforms/PGOProfile/profcheck-select.ll
Transforms/PGOProfile/prof-verify.ll
Transforms/PGOProfile/prof-verify-no-entrycount.ll
Transforms/PGOProfile/X86/macho.ll
Transforms/PhaseOrdering/AArch64/constraint-elimination-placement.ll
Transforms/PhaseOrdering/AArch64/globals-aa-required-for-vectorization.ll