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-04-01 21:41:15 +00:00
2015-09-22 11:19:03 +00:00
2016-07-21 04:25:06 +00:00
2016-07-04 08:01:29 +00:00
2016-05-25 23:14:48 +00:00
2016-05-02 19:43:22 +00:00
2016-05-06 09:07:29 +00:00
2016-08-04 20:30:07 +00:00
2016-08-01 22:32:20 +00:00
2015-11-22 16:13:51 +00:00
2016-05-11 16:38:40 +00:00
2016-02-10 22:47:15 +00:00
2015-06-23 09:49:53 +00:00
2016-05-19 03:53:06 +00:00
2016-06-12 00:41:19 +00:00
2016-08-06 02:58:48 +00:00
2016-04-23 21:08:00 +00:00
2016-06-30 03:00:20 +00:00
2016-08-12 03:55:06 +00:00
2015-04-29 16:38:44 +00:00
2016-02-25 15:55:28 +00:00
2016-07-21 01:07:13 +00:00
2015-07-22 20:46:11 +00:00
2016-07-01 02:41:21 +00:00
2016-08-11 22:36:16 +00:00
2016-08-06 20:44:39 +00:00
2016-01-22 01:33:43 +00:00
2016-05-04 00:20:48 +00:00
2016-04-16 07:51:28 +00:00
2016-05-04 00:20:48 +00:00
2016-06-24 21:21:32 +00:00
2016-06-14 21:01:22 +00:00
2016-06-08 00:13:39 +00:00
2016-03-29 18:24:19 +00:00
2016-07-18 13:17:31 +00:00
2015-10-07 20:05:10 +00:00
2016-08-11 22:21:41 +00:00
2015-12-14 18:34:23 +00:00
2016-07-15 17:19:24 +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-06-24 15:10:29 +00:00
2016-08-12 05:45:49 +00:00
2016-07-01 22:07:11 +00:00
2016-08-11 20:34:48 +00:00
2016-06-17 00:52:41 +00:00
2015-03-27 18:51:42 +00:00
2016-05-05 15:29:47 +00:00
2016-04-21 17:48:02 +00:00
2016-07-08 17:25:18 +00:00
2016-04-21 17:48:02 +00:00
2016-07-10 14:41:22 +00:00
2016-05-02 17:25:22 +00:00
2016-07-22 13:58:44 +00:00
2014-02-25 17:31:15 +00:00
2016-08-04 23:41:01 +00:00
2016-06-17 00:11:01 +00:00
2015-06-23 09:49:53 +00:00
2016-04-18 09:17:29 +00:00
2015-06-23 09:49:53 +00:00
2016-07-15 17:23:20 +00:00
2016-04-16 07:51:28 +00:00
2015-09-02 19:06:43 +00:00
2016-04-23 04:15:56 +00:00
2016-04-23 04:15:56 +00:00
2016-06-22 20:29:42 +00:00
2016-04-20 19:05:59 +00:00
2016-08-11 22:13:57 +00:00
2015-06-23 09:49:53 +00:00
2015-06-23 09:49:53 +00:00
2016-04-22 06:37:45 +00:00
2016-04-22 22:06:11 +00:00
2016-08-04 03:52:53 +00:00
2016-08-05 19:51:00 +00:00
2016-04-21 00:53:14 +00:00
2015-04-21 21:11:50 +00:00
2016-05-27 14:27:24 +00:00
2016-04-21 16:15:19 +00:00
2016-04-07 12:32:19 +00:00
2016-04-16 07:51:28 +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
2016-04-16 07:51:28 +00:00
2016-04-07 12:32:19 +00:00
2016-06-02 00:52:48 +00:00
2015-08-03 22:33:50 +00:00
2016-04-19 16:57:24 +00:00
2016-04-16 07:51:28 +00:00
2016-06-17 00:11:01 +00:00