Skip to content

Commit

Permalink
[coroutine] Add missing presplitcoroutine attr to example
Browse files Browse the repository at this point in the history
Signed-off-by: Itay Bookstein <itay.bookstein@nextsilicon.com>
  • Loading branch information
nextsilicon-itay-bookstein committed Jun 22, 2023
1 parent 028c103 commit 89f4933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/docs/Coroutines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ The LLVM IR for this coroutine looks like this:

.. code-block:: llvm
define i8* @f(i32 %n) {
define i8* @f(i32 %n) presplitcoroutine {
entry:
%id = call token @llvm.coro.id(i32 0, i8* null, i8* null, i8* null)
%size = call i32 @llvm.coro.size.i32()
Expand Down

0 comments on commit 89f4933

Please sign in to comment.