Displaying 4 results from an estimated 4 matches for "howtobuildwithpgo".
2019 Sep 03
2
Struggling with a PGO build of clang -- llvm-profdata was built without zlib support?
Hi!
I'm trying to build a fast Clang for myself to use for debug builds on
Clang itself, but I've been struggling for a very long time on it. Could
you please help?
I've been following this guide: https://llvm.org/docs/HowToBuildWithPGO.html
I've quickly learned that its outdated, because the script it talks about
doesn't work with the monorepo layout at all, but in any case, it does
describe how to do the entire process by hand, so I went for that. Here are
my steps:
* Built a release version of LLVM/Clang/LLD/compiler-...
2019 Sep 03
2
Struggling with a PGO build of clang -- llvm-profdata was built without zlib support?
...;> Hi!
>>
>> I'm trying to build a fast Clang for myself to use for debug builds on
>> Clang itself, but I've been struggling for a very long time on it. Could
>> you please help?
>>
>> I've been following this guide:
>> https://llvm.org/docs/HowToBuildWithPGO.html
>>
>> I've quickly learned that its outdated, because the script it talks about
>> doesn't work with the monorepo layout at all, but in any case, it does
>> describe how to do the entire process by hand, so I went for that. Here are
>> my steps:
>>
&...
2020 Sep 09
5
[RFC] New Feature Proposal: De-Optimizing Cold Functions using PGO Info
We would like to propose a new feature to disable optimizations on IR
Functions that are considered “cold” by PGO profiles. The primary goal for
this work is to improve code optimization speed (which also improves
compilation and LTO speed) without making too much impact on target code
performance.
The mechanism is pretty simple: In the second phase (i.e. optimization
phase) of PGO, we would add
2019 Jan 23
2
Windows/Clang build instrumented/PGO
Hello LLVM developers,
Following some hints on this mailing list earlier this year on how to make
clang faster than stock llvm.org builds I have implemented a script that
builds a PGO optimized version of clang by following the guide here:
http://llvm.org/docs/HowToBuildWithPGO.html
This works great on macOS and Linux - we gained almost 15% in our project
with this technique. I am now looking at doing this on Windows and I am
running into problems.
I bootstrap the build by downloading the 7.0.1 binaries from llvm.org, then
pass clang-cl as the compiler and lld-link as t...