GorNishanov added a comment.
Commited: r303599 = abbd4f85db96b0ed1478e2ee52e9f1eec7404131
https://reviews.llvm.org/D31590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
GorNishanov accepted this revision.
GorNishanov added a comment.
LGTM
https://reviews.llvm.org/D31590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
GorNishanov added a comment.
Gentle ping
https://reviews.llvm.org/D31590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
GorNishanov created this revision.
Wrap deallocation code with:
if (auto *mem = coro.free()) Deallocate
When backend decides to elide allocations it will replace coro.free with
nullptr to suppress deallocation code.
https://reviews.llvm.org/D31590
Files:
lib/CodeGen/CGCoroutine.cpp
tes