[PATCH] D95144: [coro.async] Make sure we process async coroutines
Arnold Schwaighofer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 08:57:41 PST 2021
aschwaighofer created this revision.
aschwaighofer added a reviewer: rjmccall.
Herald added subscribers: lxfind, hiraditya.
aschwaighofer requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Because we were not looking for the llvm.coro.id.async intrinsic in the
early coro pass which triggers follow-up passes we relied on the
llvm.coro.end intrinsic being present. This might not be the case in
functions that end in unreachable code.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95144
Files:
llvm/lib/Transforms/Coroutines/CoroEarly.cpp
llvm/test/Transforms/Coroutines/coro-async-unreachable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95144.318228.patch
Type: text/x-patch
Size: 6082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210121/feef3f2a/attachment.bin>
More information about the llvm-commits
mailing list