LLVM split functions in hot/cold regions optimization (PGO)
j at j.nl
Tue Sep 1 07:15:22 UTC 2020
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:
> 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.
More information about the digitalmars-d-ldc