via llvm-dev
2021-Jul-08 17:54 UTC
[llvm-dev] AddDiscriminatorsPass not in O0 pipeline under NPM
Hi, 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 (https://reviews.llvm.org/D36040). 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? -thanks Yuanfang
Arthur Eubanks via llvm-dev
2021-Jul-08 18:04 UTC
[llvm-dev] AddDiscriminatorsPass not in O0 pipeline under NPM
That's probably not an intentional difference, if you'd like to add that to the NPM feel free to send out a patch. On Thu, Jul 8, 2021 at 11:54 AM via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Hi, > > 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 (https://reviews.llvm.org/D36040). 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? > > -thanks > Yuanfang > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210708/ab19d0aa/attachment.html>