Skip to content

Commit

Permalink
[Coroutines] Part 8: Coroutine Frame Building algorithm
Browse files Browse the repository at this point in the history
Summary:
This patch adds coroutine frame building algorithm. Now, simple coroutines such as ex0.ll and ex1.ll (first examples from docs\Coroutines.rst can be compiled).

Documentation and overview is here: http://llvm.org/docs/Coroutines.html.

Upstreaming sequence (rough plan)
1.Add documentation. (https://reviews.llvm.org/D22603)
2.Add coroutine intrinsics. (https://reviews.llvm.org/D22659)
...

7. Split coroutine into subfunctions. (https://reviews.llvm.org/D23461)
8. Coroutine Frame Building algorithm  <= we are here
9. Add f.cleanup subfunction.
10+. The rest of the logic

Reviewers: majnemer

Subscribers: mehdi_amini, llvm-commits

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

llvm-svn: 279609
  • Loading branch information
GorNishanov committed Aug 24, 2016
1 parent 9c84859 commit 241b041
Show file tree
Hide file tree
Showing 4 changed files with 659 additions and 8 deletions.

0 comments on commit 241b041

Please sign in to comment.