aeubanks created this revision. aeubanks added reviewers: nikic, MaskRay. Herald added subscribers: StephenFan, awarzynski. Herald added a reviewer: ctetreau. Herald added a reviewer: ctetreau. Herald added a project: All. aeubanks requested review of this revision. Herald added projects: clang, LLVM. Herald added subscribers: llvm-commits, cfe-commits.
And remove references to flags to turn it off. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D123547 Files: clang/docs/ClangCommandLineReference.rst llvm/docs/NewPassManager.rst Index: llvm/docs/NewPassManager.rst =================================================================== --- llvm/docs/NewPassManager.rst +++ llvm/docs/NewPassManager.rst @@ -480,12 +480,9 @@ the new PM, whereas the backend target-dependent code generation only works with the legacy PM. -For the optimization pipeline, the new PM is the default PM. The legacy PM is -available for the optimization pipeline by setting various compiler/linker -flags, e.g. ``-flegacy-pass-manager`` for ``clang``. - -There will be efforts to deprecate and remove the legacy PM for the -optimization pipeline in the future. +For the optimization pipeline, the new PM is the default PM. Using the legacy PM +for the optimization pipeline is deprecated and there are ongoing efforts to +remove its usage. Some IR passes are considered part of the backend codegen pipeline even if they are LLVM IR passes (whereas all MIR passes are codegen passes). This Index: clang/docs/ClangCommandLineReference.rst =================================================================== --- clang/docs/ClangCommandLineReference.rst +++ clang/docs/ClangCommandLineReference.rst @@ -907,10 +907,6 @@ Inline functions which are (explicitly or implicitly) marked inline -.. option:: -flegacy-pass-manager, -fno-legacy-pass-manager - -Use the legacy pass manager in LLVM (deprecated, to be removed in a future release) - .. option:: -fno-crash-diagnostics Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash
Index: llvm/docs/NewPassManager.rst =================================================================== --- llvm/docs/NewPassManager.rst +++ llvm/docs/NewPassManager.rst @@ -480,12 +480,9 @@ the new PM, whereas the backend target-dependent code generation only works with the legacy PM. -For the optimization pipeline, the new PM is the default PM. The legacy PM is -available for the optimization pipeline by setting various compiler/linker -flags, e.g. ``-flegacy-pass-manager`` for ``clang``. - -There will be efforts to deprecate and remove the legacy PM for the -optimization pipeline in the future. +For the optimization pipeline, the new PM is the default PM. Using the legacy PM +for the optimization pipeline is deprecated and there are ongoing efforts to +remove its usage. Some IR passes are considered part of the backend codegen pipeline even if they are LLVM IR passes (whereas all MIR passes are codegen passes). This Index: clang/docs/ClangCommandLineReference.rst =================================================================== --- clang/docs/ClangCommandLineReference.rst +++ clang/docs/ClangCommandLineReference.rst @@ -907,10 +907,6 @@ Inline functions which are (explicitly or implicitly) marked inline -.. option:: -flegacy-pass-manager, -fno-legacy-pass-manager - -Use the legacy pass manager in LLVM (deprecated, to be removed in a future release) - .. option:: -fno-crash-diagnostics Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits