Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 31, 2020 LLVM split functions in hot/cold regions optimization (PGO) | ||||
---|---|---|---|---|
| ||||
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, 2020 Re: LLVM split functions in hot/cold regions optimization (PGO) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan | 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, 2020 Re: LLVM split functions in hot/cold regions optimization (PGO) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jon Degenhardt | 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
|
September 25, 2020 Re: LLVM split functions in hot/cold regions optimization (PGO) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan | 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 |
Copyright © 1999-2021 by the D Language Foundation