[all-commits] [llvm/llvm-project] b28c3b: [NewPM] Add missing LTO ArgPromotion pass

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Aug 29 03:42:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b28c3b9d9f4292d7779a0e2661d308f1230c6ecd
      https://github.com/llvm/llvm-project/commit/b28c3b9d9f4292d7779a0e2661d308f1230c6ecd
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-08-29 (Sun, 29 Aug 2021)

  Changed paths:
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/test/Other/new-pm-lto-defaults.ll

  Log Message:
  -----------
  [NewPM] Add missing LTO ArgPromotion pass

This is a followup to D96780 to add one more pass missing from the
NewPM LTO pipeline. The missing ArgPromotion run is inserted at
the same position as in the LegacyPM, resolving the already
present FIXME:
https://github.com/llvm/llvm-project/blob/16086d47c0d0cd08ffae8e69a69c88653e654d01/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp#L1096-L1098

The compile-time impact is minimal with ~0.1% geomean regression
on CTMark.

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




More information about the All-commits mailing list