Thread overview
LLVM split functions in hot/cold regions optimization (PGO)
Aug 31
Johan
Sep 01
Johan
August 31
LLVM gained an interesting new optimization pass to split functions in hot/cold regions based on PGO profile data:
https://reviews.llvm.org/rG94faadaca4e

cheers,
  Johan

August 31
On Monday, 31 August 2020 at 23:31:31 UTC, Johan wrote:
> LLVM gained an interesting new optimization pass to split functions in hot/cold regions based on PGO profile data:
> https://reviews.llvm.org/rG94faadaca4e

Very interesting. Will LDC gain this optimization pass simply by upgrading the LLVM version, or will it be necessary to update LDC's PGO as well?

September 01
On Monday, 31 August 2020 at 23:46:24 UTC, Jon Degenhardt wrote:
> On Monday, 31 August 2020 at 23:31:31 UTC, Johan wrote:
>> LLVM gained an interesting new optimization pass to split functions in hot/cold regions based on PGO profile data:
>> https://reviews.llvm.org/rG94faadaca4e
>
> Very interesting. Will LDC gain this optimization pass simply by upgrading the LLVM version, or will it be necessary to update LDC's PGO as well?

Upgrading LLVM, and enabling it with a cmdline flag (not enabled by default at the moment). It seems to use the already existing PGO profile data.


-Johan