[PATCH] D82314: [RFC][Coroutines] Optimize the lifespan of temporary co_await object

Xun Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 14:42:46 PDT 2020


lxfind updated this revision to Diff 273169.
lxfind added a comment.

Actually it seems pretty easy to handle the case of multiple BitCastInst, so did it here. Also added a test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82314/new/

https://reviews.llvm.org/D82314

Files:
  llvm/lib/Transforms/Coroutines/CoroSplit.cpp
  llvm/test/Transforms/Coroutines/coro-split-02.ll
  llvm/test/Transforms/Coroutines/coro-split-sink-lifetime.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82314.273169.patch
Type: text/x-patch
Size: 9161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200624/81db405a/attachment-0001.bin>


More information about the cfe-commits mailing list