Using the legacy pass manager for the optimization pipeline is deprecated.
And remove -enable-new-pm flag.
Thanks for the patch. It's fine with me but there is a user of the Attribtutor still using old PM (in the backend).
@arsenm We are loosing test coverage here. What is needed to port your use case to the new PM?