[coroutines] Add emission of initial and final suspends
authorGor Nishanov <GorNishanov@gmail.com>
Tue, 23 May 2017 05:04:01 +0000 (05:04 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Tue, 23 May 2017 05:04:01 +0000 (05:04 +0000)
commit5efc61866d24b11e8aabba8d7d9443cb1f1e3215
tree2f9574d626f78b388092a2da91fced7d1851dfcb
parentc46203eaf557f738b25e1d261272d51ef953e561
[coroutines] Add emission of initial and final suspends

https://reviews.llvm.org/D31608

llvm-svn: 303603
clang/lib/CodeGen/CGCoroutine.cpp
clang/test/CodeGenCoroutines/coro-await.cpp
clang/test/CodeGenCoroutines/coro-cleanup.cpp