Page MenuHomePhabricator

[PoC] llvm-profdata - Normalize the PGO data before writing them to disk
Needs ReviewPublic

Authored by sebmarchand on May 14 2020, 9:00 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Proof of concept, not meant to be committed.

Diff Detail

Unit TestsFailed

TimeTest
160 msClang.CodeGen::thinlto-clang-diagnostic-handler-in-be.c
Script: -- : 'RUN: at line 5'; llvm-profdata merge -o /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/tools/clang/test/CodeGen/Output/thinlto-clang-diagnostic-handler-in-be.c.tmp1.profdata /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/clang/test/CodeGen/Inputs/thinlto_expect1.proftext
340 msClang.CodeGen::thinlto-clang-diagnostic-handler-in-be.c
Script: -- : 'RUN: at line 5'; llvm-profdata merge -o C:\ws\prod\llvm-project\build\tools\clang\test\CodeGen\Output\thinlto-clang-diagnostic-handler-in-be.c.tmp1.profdata C:\ws\prod\llvm-project\clang\test\CodeGen/Inputs/thinlto_expect1.proftext
100 msClang.CodeGenCXX::profile-remap.cpp
Script: -- : 'RUN: at line 3'; /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/bin/clang -cc1 -internal-isystem /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/lib/clang/11.0.0/include -nostdsysteminc -triple x86_64-linux-gnu -fprofile-sample-use=/mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/clang/test/CodeGenCXX/Inputs/profile-remap.samples -fprofile-remapping-file=/mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/clang/test/CodeGenCXX/Inputs/profile-remap.map -fexperimental-new-pass-manager -O2 /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/clang/test/CodeGenCXX/profile-remap.cpp -emit-llvm -o - | /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/bin/FileCheck /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/clang/test/CodeGenCXX/profile-remap.cpp --check-prefixes=CHECK,CHECK-SAMPLES
180 msClang.CodeGenCXX::profile-remap.cpp
Script: -- : 'RUN: at line 3'; c:\ws\prod\llvm-project\build\bin\clang.exe -cc1 -internal-isystem c:\ws\prod\llvm-project\build\lib\clang\11.0.0\include -nostdsysteminc -triple x86_64-linux-gnu -fprofile-sample-use=C:\ws\prod\llvm-project\clang\test\CodeGenCXX/Inputs/profile-remap.samples -fprofile-remapping-file=C:\ws\prod\llvm-project\clang\test\CodeGenCXX/Inputs/profile-remap.map -fexperimental-new-pass-manager -O2 C:\ws\prod\llvm-project\clang\test\CodeGenCXX\profile-remap.cpp -emit-llvm -o - | c:\ws\prod\llvm-project\build\bin\filecheck.exe C:\ws\prod\llvm-project\clang\test\CodeGenCXX\profile-remap.cpp --check-prefixes=CHECK,CHECK-SAMPLES
180 msClang.Frontend::optimization-remark-with-hotness-new-pm.c
Script: -- : 'RUN: at line 9'; llvm-profdata merge /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/clang/test/Frontend/Inputs/optimization-remark-with-hotness.proftext -o /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/tools/clang/test/Frontend/Output/optimization-remark-with-hotness-new-pm.c.tmp.profdata
View Full Test Results (166 Failed)

Event Timeline

sebmarchand created this revision.May 14 2020, 9:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 14 2020, 9:00 PM