Gor Nishanov 37bbef4980 [Coroutines]: Part6b: Add coro.id intrinsic.
Summary:
1. Make coroutine representation more robust against optimization that may duplicate instruction by introducing coro.id intrinsics that returns a token that will get fed into coro.alloc and coro.begin. Due to coro.id returning a token, it won't get duplicated and can be used as reliable indicator of coroutine identify when a particular coroutine call gets inlined.
2. Move last three arguments of coro.begin into coro.id as they will be shared if coro.begin will get duplicated.
3. doc + test + code updated to support the new intrinsic.

Reviewers: mehdi_amini, majnemer

Subscribers: mehdi_amini, llvm-commits

Differential Revision: https://reviews.llvm.org/D23412

llvm-svn: 278481
2016-08-12 05:45:49 +00:00
..
2016-07-04 08:01:29 +00:00
2016-05-11 16:38:40 +00:00
2015-07-22 20:46:11 +00:00
2015-12-14 18:34:23 +00:00
2016-08-05 19:09:25 +00:00
2015-12-14 18:34:23 +00:00
2016-05-11 16:38:40 +00:00
2016-04-18 09:17:29 +00:00
2016-04-21 16:15:19 +00:00
2016-06-02 20:37:52 +00:00
2015-04-21 21:15:35 +00:00
2016-01-27 18:03:37 +00:00
2016-04-18 09:17:29 +00:00
2016-06-28 12:17:05 +00:00
2015-08-03 22:33:50 +00:00