Page MenuHomePhabricator

[UsersManual] Add llvm-progen as an alternative tool for AutoFDO profile generation.
Needs ReviewPublic

Authored by hoy on Jan 31 2023, 10:20 AM.

Details

Reviewers
wenlei
wlei
Summary

I'm adding llvm-profgen as an alternative AutoFDO profile generator to the user manual. llvm-profgen is widely used and tested by META as their default profile generator.

Diff Detail

Unit TestsFailed

TimeTest
3,910 mslibcxx CI Modules > llvm-libc++-shared-cfg-in.libcxx/algorithms/specialized_algorithms/special_mem_concepts::nothrow_sentinel_for.compile.pass.cpp
Script: -- : 'COMPILED WITH'; /home/libcxx-builder/.buildkite-agent/builds/6bf03ceeb378-1/llvm-project/libcxx-ci/install/bin/clang++ /home/libcxx-builder/.buildkite-agent/builds/6bf03ceeb378-1/llvm-project/libcxx-ci/libcxx/test/libcxx/algorithms/specialized.algorithms/special.mem.concepts/nothrow_sentinel_for.compile.pass.cpp --target=x86_64-unknown-linux-gnu -nostdinc++ -I /home/libcxx-builder/.buildkite-agent/builds/6bf03ceeb378-1/llvm-project/libcxx-ci/build/generic-modules/include/c++/v1 -I /home/libcxx-builder/.buildkite-agent/builds/6bf03ceeb378-1/llvm-project/libcxx-ci/build/generic-modules/include/c++/v1 -I /home/libcxx-builder/.buildkite-agent/builds/6bf03ceeb378-1/llvm-project/libcxx-ci/libcxx/test/support -std=c++2b -fmodules -fcxx-modules -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_DISABLE_AVAILABILITY -Werror=thread-safety -Wuser-defined-warnings -fsyntax-only

Event Timeline

hoy created this revision.Jan 31 2023, 10:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2023, 10:20 AM
Herald added subscribers: modimo, wenlei. · View Herald Transcript
hoy requested review of this revision.Jan 31 2023, 10:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2023, 10:20 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
hoy edited the summary of this revision. (Show Details)Jan 31 2023, 10:23 AM
hoy added reviewers: wenlei, wlei.

Given llvm-profgen is in llvm tree, I'm wondering if it makes sense to treat it first option instead of alternative to out of tree create_llvm_prof. wdyt @davidxl