Skip to content

Commit 69b2b72

Browse files
committed
[clang] Remove no-op -fexperimental-new-pass-manager/-fno-legacy-pass-manager flags
These have been no-op for a while and keeping them around may be confusing. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D136789
1 parent 6a79441 commit 69b2b72

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ code bases.
158158
}
159159
}
160160

161+
- The ``-fexperimental-new-pass-manager`` and ``-fno-legacy-pass-manager``
162+
flags have been removed. These have been no-ops since 15.0.0.
161163

162164
What's New in Clang |release|?
163165
==============================

clang/include/clang/Driver/Options.td

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,10 +2014,6 @@ def fglobal_isel : Flag<["-"], "fglobal-isel">, Group<f_clang_Group>,
20142014
HelpText<"Enables the global instruction selector">;
20152015
def fexperimental_isel : Flag<["-"], "fexperimental-isel">, Group<f_clang_Group>,
20162016
Alias<fglobal_isel>;
2017-
def fno_legacy_pass_manager : Flag<["-"], "fno-legacy-pass-manager">,
2018-
Group<f_clang_Group>, Flags<[CC1Option, NoArgumentUnused]>;
2019-
def fexperimental_new_pass_manager : Flag<["-"], "fexperimental-new-pass-manager">,
2020-
Group<f_clang_Group>, Flags<[CC1Option]>, Alias<fno_legacy_pass_manager>;
20212017
def fexperimental_strict_floating_point : Flag<["-"], "fexperimental-strict-floating-point">,
20222018
Group<f_clang_Group>, Flags<[CC1Option]>,
20232019
HelpText<"Enables experimental strict floating point in LLVM.">,

clang/test/Driver/flegacy-pass-manager.c

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)