www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - LLVM split functions in hot/cold regions optimization (PGO)

reply Johan <j j.nl> writes:
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
Aug 31 2020
next sibling parent reply Jon Degenhardt <jond noreply.com> writes:
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?
Aug 31 2020
parent Johan <j j.nl> writes:
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
Sep 01 2020
prev sibling parent Stefanos Baziotis <sdi1600105 di.uoa.gr> writes:
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

 cheers,
   Johan
Tech talk: https://youtu.be/Q8rqGg6vHAE - Stefanos
Sep 24 2020