GorNishanov added a comment.
It is a simple change. If there is no objections, I'll commit it tomorrow.
https://reviews.llvm.org/D31584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
GorNishanov added a comment.
Gentle ping
https://reviews.llvm.org/D31584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
GorNishanov created this revision.
We wrap allocation code so that backend can elide it if necessary.
llvm.coro.alloc intrinsic returns true, when allocation is needed and false
otherwise.
%NeedAlloc = call i1 @llvm.coro.alloc(token %2)
br i1 %NeedAlloc, label %AllocBB, label %InitBB