Krzysztof Parzyszek via llvm-dev
2020-Sep-07 15:02 UTC
[llvm-dev] New PM for target-specific pre-isel IR passes
Hi, Is there a mechanism in place to use the new pass manager with target-specific passes added (at the moment) via addIRPasses in TargetPassConfig? I did see any code related to that, did I miss something? Is it in plan? -- Krzysztof Parzyszek kparzysz at quicinc.com AI tools development
Arthur Eubanks via llvm-dev
2020-Sep-08 18:07 UTC
[llvm-dev] New PM for target-specific pre-isel IR passes
That's part of the codegen pipeline and not the optimization pipeline (even though they are IR passes). ychen is working on making the codegen pipeline work with the new pass manager, but that is not part of the immediate new pass manager transition, which is just about the optimization pipeline. On Mon, Sep 7, 2020 at 8:02 AM Krzysztof Parzyszek via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi, > > Is there a mechanism in place to use the new pass manager with > target-specific passes added (at the moment) via addIRPasses in > TargetPassConfig? > > I did see any code related to that, did I miss something? Is it in plan? > > > -- > Krzysztof Parzyszek kparzysz at quicinc.com AI tools development > > _______________________________________________ > 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/20200908/42245b60/attachment.html>
Chen, Yuanfang via llvm-dev
2020-Sep-08 18:43 UTC
[llvm-dev] New PM for target-specific pre-isel IR passes
Hello Krzysztof, Yes, there is a plan to use the new pass manager for both target-specific IR and MIR passes. There will be a new class (counterpart to TargetPassConfig) to let target `addIRPasses` (https://reviews.llvm.org/D83608). The TargetPassConfig is and will continue to be specific to legacy pass manager though. -Yuanfang From: Arthur Eubanks <aeubanks at google.com> Sent: Tuesday, September 8, 2020 11:08 AM To: Krzysztof Parzyszek <kparzysz at quicinc.com> Cc: llvm-dev at lists.llvm.org; Chen, Yuanfang <Yuanfang.Chen at sony.com> Subject: Re: [llvm-dev] New PM for target-specific pre-isel IR passes That's part of the codegen pipeline and not the optimization pipeline (even though they are IR passes). ychen is working on making the codegen pipeline work with the new pass manager, but that is not part of the immediate new pass manager transition, which is just about the optimization pipeline. On Mon, Sep 7, 2020 at 8:02 AM Krzysztof Parzyszek via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hi, Is there a mechanism in place to use the new pass manager with target-specific passes added (at the moment) via addIRPasses in TargetPassConfig? I did see any code related to that, did I miss something? Is it in plan? -- Krzysztof Parzyszek kparzysz at quicinc.com<mailto:kparzysz at quicinc.com> AI tools development _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org<mailto: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/20200908/e82d0d19/attachment.html>