[PATCH] D37125: [coroutines] Add support for symmetric control transfer (musttail on coro.resumes followed by a suspend)

Gor Nishanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 19:23:03 PDT 2017


GorNishanov updated this revision to Diff 112649.
GorNishanov added a comment.

On the way to ret instruction track the incoming values of PHINodes and select correct case branch for SwitchInst which is used to implement a suspend point


https://reviews.llvm.org/D37125

Files:
  lib/Transforms/Coroutines/CoroSplit.cpp
  test/Transforms/Coroutines/coro-split-musttail.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37125.112649.patch
Type: text/x-patch
Size: 6825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170825/2a16b9d0/attachment.bin>


More information about the llvm-commits mailing list