This is an archive of the discontinued LLVM Phabricator instance.

[coroutines] Add support for coroutines with non-scalar parameters
ClosedPublic

Authored by GorNishanov on May 24 2017, 10:50 AM.

Details

Summary

Simple types like int are handled by LLVM Coroutines just fine.
But for non-scalar parameters we need to create copies of those parameters in the coroutine frame and make all uses of those parameters to refer to parameter copies.

Diff Detail

Repository
rL LLVM

Event Timeline

GorNishanov created this revision.May 24 2017, 10:50 AM
This revision is now accepted and ready to land.May 24 2017, 1:08 PM
This revision was automatically updated to reflect the committed changes.