Brian Gesiak via llvm-dev
2020-Feb-19 07:00 UTC
[llvm-dev] LLVM passes for C++20 coroutines now work with the new pass manager
Hello all, First of all, thank you to everyone who helped me out with my previous questions/requests on this mailing list and the LLVM Discord [1]. I just thought I'd announce that, now that the stack of diffs ending with https://reviews.llvm.org/D71903 have landed in trunk, LLVM's coroutine passes are capable of being run with the new pass manager [2]. My colleagues and I have been using this stack of diffs in our internal fork of LLVM to compile several large C++17 codebases that make use of ThinLTO and the -fcoroutines-ts option, and it's been working well so far. For any users of LLVM coroutines with the new pass manager, please send bug reports my way (using either Bugzilla or GitHub issues, I'll check both). [1] http://lists.llvm.org/pipermail/llvm-dev/2019-November/137203.html, http://lists.llvm.org/pipermail/llvm-dev/2019-December/137835.html, etc. [2] One caveat here: my patches only C++20 coroutines' "switch" ABI, not the "returned continuation" ABI used by Swift. The codebases I support only use the former, so I stuck with what I know. - Brian Gesiak
David Blaikie via llvm-dev
2020-Feb-19 18:33 UTC
[llvm-dev] LLVM passes for C++20 coroutines now work with the new pass manager
Awesome! On Tue, Feb 18, 2020 at 11:01 PM Brian Gesiak via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hello all, > > First of all, thank you to everyone who helped me out with my previous > questions/requests on this mailing list and the LLVM Discord [1]. I > just thought I'd announce that, now that the stack of diffs ending > with https://reviews.llvm.org/D71903 have landed in trunk, LLVM's > coroutine passes are capable of being run with the new pass manager > [2]. > > My colleagues and I have been using this stack of diffs in our > internal fork of LLVM to compile several large C++17 codebases that > make use of ThinLTO and the -fcoroutines-ts option, and it's been > working well so far. For any users of LLVM coroutines with the new > pass manager, please send bug reports my way (using either Bugzilla or > GitHub issues, I'll check both). > > [1] http://lists.llvm.org/pipermail/llvm-dev/2019-November/137203.html, > http://lists.llvm.org/pipermail/llvm-dev/2019-December/137835.html, > etc. > [2] One caveat here: my patches only C++20 coroutines' "switch" ABI, > not the "returned continuation" ABI used by Swift. The codebases I > support only use the former, so I stuck with what I know. > > - Brian Gesiak > _______________________________________________ > 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/20200219/02c6daed/attachment-0001.html>