[Issue 22861] Build the compiler with PGO

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 28 00:44:01 UTC 2022


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13900 "Fix Issue 22861 - build the compiler with PGO"
was merged into master:

- e2a9fd614ecaa8fcc8df8daaabc42754c6d8d631 by Max Haughton:
  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/13900

--


More information about the Digitalmars-d-bugs mailing list