<div dir="ltr">That's probably not an intentional difference, if you'd like to add that to the NPM feel free to send out a patch.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 8, 2021 at 11:54 AM 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">Hi,<br>
<br>
It seems that, under NPM, AddDiscriminatorsPass is not added into the O0 pipeline (buildO0DefaultPipeline). However, for legacy PM, the pass is in the O0 pipeline (need to specify -fdebug-info-for-profiling). It is hard to tell if it is intentional (<a href="https://reviews.llvm.org/D36040" rel="noreferrer" target="_blank">https://reviews.llvm.org/D36040</a>). So my question is does it make sense to support such configuration (for parity with legacy PM and completeness) or we leave it as is? Any specific use cases for that?<br>
<br>
-thanks<br>
Yuanfang<br>
_______________________________________________<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>