[PATCH] D30376: Playing with tokens OR breaking coroutines manually

Gor Nishanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 5 07:09:45 PST 2017


GorNishanov requested changes to this revision.
GorNishanov added a comment.
This revision now requires changes to proceed.

I agree that verifier could be more rigorous with checking that coroutine intrinsics are used properly, but, I would not want to change the tests ex0 - ex5.ll as you suggested.
ex?.ll tests are examples from the coroutine walkthrough in LLVM Coroutines doc and I would like to keep them in sync with the tutorial. They represent minimally useful, but still sensible coroutines.

I would not object of adding new tests along the lines that your suggested (possibly with verifier changes to give better diagnostics) where assumptions about coroutine structure are violated.


https://reviews.llvm.org/D30376





More information about the llvm-commits mailing list