[PATCH] D118313: [Driver] Remove -fno-experimental-new-pass-manager

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 27 00:41:46 PST 2022


MaskRay added a comment.

In D118313#3275059 <https://reviews.llvm.org/D118313#3275059>, @nikic wrote:

> So this just forces you to change `-fno-experimental-new-pass-manager` to `-flegacy-pass-manager`? I'm not sure I see the point.
>
> Note that removal of middle-end LegacyPM functionality is currently blocked on https://reviews.llvm.org/D98481 landing, which prevents NewPM deployment in the Rust ecosystem.

-flegacy-pass-manager is a new option added in 13.0.0. It did not exist in older releases.
So by making -fno-experimental-new-pass-manager non-functional, it forces the remaining users to migrate.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118313/new/

https://reviews.llvm.org/D118313



More information about the cfe-commits mailing list