[PATCH] D147456: [SamplePGO] Stale profile matching(part 1)

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 15:59:05 PDT 2023


wlei added a comment.

In D147456#4306762 <https://reviews.llvm.org/D147456#4306762>, @mysterymath wrote:

> It looks like this change or its followup is causing test failures on the Fuchsia toolchain builders:
>
> https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8782540257332498033/test-results?sortby=&groupby=
>
>   Script:
>   --
>   : 'RUN: at line 3';   /b/s/w/ir/x/w/staging/llvm_build/bin/opt < /b/s/w/ir/x/w/llvm-llvm-project/llvm/test/Transforms/SampleProfile/pseudo-probe-stale-profile-matching.ll -passes=sample-profile -sample-profile-file=/b/s/w/ir/x/w/llvm-llvm-project/llvm/test/Transforms/SampleProfile/Inputs/pseudo-probe-stale-profile-matching.prof --salvage-stale-profile -S --debug-only=sample-profile 2>&1 | /b/s/w/ir/x/w/staging/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/llvm/test/Transforms/SampleProfile/pseudo-probe-stale-profile-matching.ll
>   --
>   Exit Code: 1
>   
>   Command Output (stderr):
>   --
>   /b/s/w/ir/x/w/llvm-llvm-project/llvm/test/Transforms/SampleProfile/pseudo-probe-stale-profile-matching.ll:66:10: error: CHECK: expected string not found in input
>   ; CHECK: Callsite with callee:foo is matched from 13 to 6
>            ^
>   <stdin>:12:34: note: scanning from here
>   Location is matched from 11 to 11
>                                    ^
>   <stdin>:13:1: note: possible intended match here
>   Callsite with callee:foo is matched from 13 to 0
>   ^

Sorry for the break, push an attempt to fix https://reviews.llvm.org/rGba3cbc7aadf9, let me know if it doesn't work.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147456/new/

https://reviews.llvm.org/D147456



More information about the llvm-commits mailing list