[all-commits] [llvm/llvm-project] 5fc126: [Driver] Remove -fno-experimental-new-pass-manager

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jan 28 14:58:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fc1261ef37549484e9eb9edc90477d713d8223f
      https://github.com/llvm/llvm-project/commit/5fc1261ef37549484e9eb9edc90477d713d8223f
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/flegacy-pass-manager.c
    R clang/test/Frontend/optimization-remark-with-hotness.c

  Log Message:
  -----------
  [Driver] Remove -fno-experimental-new-pass-manager

to give users a final warning that they need to migrate away. They could still
use -flegacy-pass-manager for Clang 14.0.0, but the functionality may not work
for 15.0.0.

-fexperimental-new-pass-manager is a no-op for default builds, so not urgent to
be removed for 14.0.0.

clang/test/Frontend/optimization-remark-with-hotness.c is removed because its
new PM replacement optimization-remark-with-hotness-new-pm.c exists.

Reviewed By: aeubanks, nikic

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




More information about the All-commits mailing list