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