[Issue 22861] Build the compiler with PGO

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 27 23:21:56 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22861

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ibuclaw updated dlang/dmd pull request #13899 "[Ignore] Test CircleCI" fixing
this issue:

- Fix Issue 22861 - build the compiler with PGO

  This introduces a new target to build.d, dmd-pgo, which will build a dmd with
PGO
  instrumentation, then run either the phobos or dmd testsuite (both are
present in the
  source code, only the dmd one is set to run at the moment). This data is then
merged,
  at which point the data is used to build a release + LTO build of dmd.

  This resulting build is significantly faster - on the order of 45% on some
programs.

  Making the release scripts use the PGO build may require further changes.

https://github.com/dlang/dmd/pull/13899

--


More information about the Digitalmars-d-bugs mailing list