[PATCH] D31608: [coroutines] Add emission of initial and final suspends

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 3 10:55:24 PDT 2017


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

Added a CHECK that for a final suspend we correctly set "IsFinalSuspend" argument of @llvm.coro.suspend


https://reviews.llvm.org/D31608

Files:
  lib/CodeGen/CGCoroutine.cpp
  test/CodeGenCoroutines/coro-await.cpp
  test/CodeGenCoroutines/coro-cleanup.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31608.93889.patch
Type: text/x-patch
Size: 6716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170403/ec37dfb0/attachment.bin>


More information about the cfe-commits mailing list