[PATCH] D136789: [clang] Remove no-op -fexperimental-new-pass-manager/-fno-legacy-pass-manager flags
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 28 10:24:14 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG69b2b7282e92: [clang] Remove no-op -fexperimental-new-pass-manager/-fno-legacy-pass-manager… (authored by aeubanks).
Changed prior to commit:
https://reviews.llvm.org/D136789?vs=470928&id=471589#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136789/new/
https://reviews.llvm.org/D136789
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Driver/Options.td
clang/test/Driver/flegacy-pass-manager.c
Index: clang/test/Driver/flegacy-pass-manager.c
===================================================================
--- clang/test/Driver/flegacy-pass-manager.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/// -fno-legacy-pass-manager and -fexperimental-new-pass-manager are retained
-// as no-ops. The inverted options are no longer supported.
-
-// RUN: %clang -### -c -fno-legacy-pass-manager %s 2>&1 | FileCheck %s
-// RUN: not %clang -### -flegacy-pass-manager %s
-
-// RUN: %clang -### -c -fexperimental-new-pass-manager %s 2>&1 | FileCheck %s
-// RUN: not %clang -### -fno-experimental-new-pass-manager %s
-
-// Just check that there is no argument unused warning. There is no need to
-// pass any cc1 options.
-
-// CHECK-NOT: warning: argument unused
Index: clang/include/clang/Driver/Options.td
===================================================================
--- clang/include/clang/Driver/Options.td
+++ clang/include/clang/Driver/Options.td
@@ -2014,10 +2014,6 @@
HelpText<"Enables the global instruction selector">;
def fexperimental_isel : Flag<["-"], "fexperimental-isel">, Group<f_clang_Group>,
Alias<fglobal_isel>;
-def fno_legacy_pass_manager : Flag<["-"], "fno-legacy-pass-manager">,
- Group<f_clang_Group>, Flags<[CC1Option, NoArgumentUnused]>;
-def fexperimental_new_pass_manager : Flag<["-"], "fexperimental-new-pass-manager">,
- Group<f_clang_Group>, Flags<[CC1Option]>, Alias<fno_legacy_pass_manager>;
def fexperimental_strict_floating_point : Flag<["-"], "fexperimental-strict-floating-point">,
Group<f_clang_Group>, Flags<[CC1Option]>,
HelpText<"Enables experimental strict floating point in LLVM.">,
Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -158,6 +158,8 @@
}
}
+ - The ``-fexperimental-new-pass-manager`` and ``-fno-legacy-pass-manager``
+ flags have been removed. These have been no-ops since 15.0.0.
What's New in Clang |release|?
==============================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136789.471589.patch
Type: text/x-patch
Size: 2050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221028/c65c2fff/attachment.bin>
More information about the cfe-commits
mailing list