Skip to content

Commit 89f4933

Browse files
[coroutine] Add missing presplitcoroutine attr to example
Signed-off-by: Itay Bookstein <itay.bookstein@nextsilicon.com>
1 parent 028c103 commit 89f4933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/Coroutines.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ The LLVM IR for this coroutine looks like this:
285285

286286
.. code-block:: llvm
287287
288-
define i8* @f(i32 %n) {
288+
define i8* @f(i32 %n) presplitcoroutine {
289289
entry:
290290
%id = call token @llvm.coro.id(i32 0, i8* null, i8* null, i8* null)
291291
%size = call i32 @llvm.coro.size.i32()

0 commit comments

Comments
 (0)