r268211 - in /branches/c++-coroutines: ChangeLo...

iains@gcc.gnu.org iains@gcc.gnu.org
Wed Jan 23 21:22:00 GMT 2019


Author: iains
Date: Wed Jan 23 21:22:44 2019
New Revision: 268211

URL: https://gcc.gnu.org/viewcvs?rev=268211&root=gcc&view=rev
Log:
c++-coroutines - actually act on the YIELD points now.

This involves rewriting the CFG to connect up the dummy dispatcher code
to any remaining resume/destroy points (and eliding any others).

2019-01-23  Iain Sandoe  <iain@sandoe.co.uk>

	* gcc/coroutine-passes.c: Update header use.
	(first_vuser, move_edge_and_update_vdef): New helper functions.
	(execute_expand_coro_ifns): Try to minimise early scan for CO_XXX
	functions, since this has to be executed for all fns.
	Move dummy edges for the dispatcher to their real targets for any
	YIELD points that remain.  Elide others. Arrange to update DOM and
	VSSA.


Modified:
    branches/c++-coroutines/ChangeLog.coroutines
    branches/c++-coroutines/gcc/coroutine-passes.c



More information about the Gcc-cvs mailing list