[PATCH] D96620: [coro async] Don't promote allocas to the frame or rewrite swifterror if there are no suspend points

Arnold Schwaighofer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 10:51:06 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.

Also don't call function to update the call graph if there are no
clones. The function will fail.

rdar://74277860


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96620

Files:
  llvm/lib/Transforms/Coroutines/CoroFrame.cpp
  llvm/lib/Transforms/Coroutines/CoroSplit.cpp
  llvm/test/Transforms/Coroutines/coro-async.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96620.323401.patch
Type: text/x-patch
Size: 4678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210212/8857104d/attachment.bin>


More information about the llvm-commits mailing list