| Issue |
52845
|
| Summary |
[PGO] CS-PGO failure to merge profiles
|
| Labels |
pgo
|
| Assignees |
|
| Reporter |
LebedevRI
|
Reproduction steps:
[halide-build.sh.txt](https://github.com/llvm/llvm-project/files/7765229/halide-build.sh.txt)
Ignoring the question of `LLVM_PROFILE_FILE="profile-%m.profraw"` seemingly resulting in broken files,
there is something going wrong when trying to merge the `*.profraw` that were produced
from `-fprofile-use=<> -fcs-profile-generate`:
```
+ llvm-profdata-14 merge -output=/tmp/halide/profile/default-stage-1.profdata /tmp/halide/profile/raw/stage-1
warning: /tmp/halide/profile/raw/stage-1/profile-242997-12246782684758674083_0.profraw: Merge IR generated profile with Clang generated profile.
warning: /tmp/halide/profile/raw/stage-1/profile-242618-9128448381881160101_0.profraw: Merge IR generated profile with Clang generated profile.
warning: /tmp/halide/profile/raw/stage-1/profile-242254-13824300518530807497_0.profraw: Merge IR generated profile with Clang generated profile.
warning: /tmp/halide/profile/raw/stage-1/profile-242031-17848391881700530470_0.profraw: Merge IR generated profile with Clang generated profile.
warning: /tmp/halide/profile/raw/stage-1/profile-241798-14280892247683654938_0.profraw: Merge IR generated profile with Clang generated profile.
warning: /tmp/halide/profile/raw/stage-1/profile-241543-64796855444297194_0.profraw: Merge IR generated profile with Clang generated profile.
```
I do not understand what that error is telling me, or how to fix/workaround it.
This is broken both in LLVM13 and in trunk.
CC @WenleiHe @wmi-11
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs