llvm-project/bolt/test/X86/stale-matching-min-matched-block.test
Hans Wennborg 69753aa43b [bolt] stale-matching-min-matched-block.test requires asserts
Because of the --debug-only flag.
2024-06-18 13:41:57 +02:00

12 lines
531 B
Plaintext

## This script checks the stale-matching-min-matched-block flag.
REQUIRES: asserts
RUN: yaml2obj %p/Inputs/blarge.yaml &> %t.exe
## Testing "usqrt"
RUN: llvm-bolt %t.exe -o %t.null --b %p/Inputs/blarge_profile_stale_low_matched_blocks.yaml \
RUN: --infer-stale-profile=1 --stale-matching-min-matched-block=75 \
RUN: --profile-ignore-hash=1 --debug-only=bolt-prof 2>&1 | FileCheck %s
CHECK: BOLT-INFO: inferred profile for 1 (50.00% of profiled, 50.00% of stale) functions responsible for 46.31% samples (552 out of 1192)