<div dir="ltr">`-enable-new-pm` is purely for the new PM transition, ideally at some point it will disappear when all tests are using `-passes`. We'll have to do a mass update of the lit tests at some point after the new PM transition, probably when we start thinking about deprecating the legacy PM (at least for the optimization pipeline).<div>(Also unrelated IMO having a `-passes` flag instead of specifying each pass as its own flag is a lot cleaner)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 21, 2021 at 5:07 AM Markus Lavin via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="SV">
<div class="gmail-m_-5658714491250800396WordSection1">
<p class="MsoNormal"><span lang="EN-US">Is the ‘opt’ option ‘-enable-new-pm’ intended to be used mostly as a convenience for migrating lit-tests or is it actually intended to be a built-in translation from generic legacy PM command lines into new PM equivalents?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">That is will ‘-enable-new-pm’ be supported to the same level as ‘-passes’ as an interface for the new PM?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">-Markus<u></u><u></u></span></p>
</div>
</div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>