[all-commits] [llvm/llvm-project] 13e3d4: [Pipeline] Don't run EarlyFPM in LTO post link

aeubanks via All-commits all-commits at lists.llvm.org
Thu May 25 09:33:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13e3d4aa5a4e9062bb377207e522cd4f8ed688bd
      https://github.com/llvm/llvm-project/commit/13e3d4aa5a4e9062bb377207e522cd4f8ed688bd
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/test/Other/new-pm-pgo.ll
    M llvm/test/Other/new-pm-thinlto-postlink-defaults.ll
    M llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
    M llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll

  Log Message:
  -----------
  [Pipeline] Don't run EarlyFPM in LTO post link

EarlyFPM cleans up the output of the frontend. This isn't necessary in post link pipelines as the pre link pipeline already ran this.

~0.4% savings in ThinLTO builds:
https://llvm-compile-time-tracker.com/compare.php?from=8a5d4eb775c644d8683f24817d44c510d2b853b7&to=3580252a2162eadca0da99f1eeaa112f74a0353d&stat=instructions:u

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D145403




More information about the All-commits mailing list