[PATCH] D125426: Add a new flavor "BBLabels" to LLVM_BUILD_INSTRUMENTED
Han Shen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 10:04:15 PDT 2022
shenhan added a comment.
In D125426#3509715 <https://reviews.llvm.org/D125426#3509715>, @tmsriram wrote:
> In D125426#3509699 <https://reviews.llvm.org/D125426#3509699>, @shenhan wrote:
>
>> Here is the proposed workflow to build a propeller optimized clang binary (similar to PGO build).
>>
>> 1. Build instrumented clang binary:
>>
>> cmake -G Ninja ... -DLLVM_BUILD_INSTRUMENTED=BBLabels ... llvm-project/llvm
>> ninja build
>>
>> 2. Using the above built binary in day-to-day routine and collect perf.data file and then convert it to propeller profiles.
>>
>> 3. Build the optimized clang binary:
>>
>> cmake -G Ninja ... -DLLVM_PROPELLER_PROFILES=<profile> ... llvm-project/llvm
>>
>> The experiment data show propeller optimized clang has a 5% compiler time improvement over PGO build.
>
> Thanks! Please move this to the description.
Done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125426/new/
https://reviews.llvm.org/D125426
More information about the llvm-commits
mailing list