From: Itay Bookstein Date: Thu, 22 Jun 2023 07:23:52 +0000 (+0300) Subject: [coroutine] Add missing presplitcoroutine attr to example X-Git-Tag: upstream/17.0.6~4252 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89f493392d76fcf44ec8af3755b38f6423ded82b;p=platform%2Fupstream%2Fllvm.git [coroutine] Add missing presplitcoroutine attr to example Signed-off-by: Itay Bookstein --- diff --git a/llvm/docs/Coroutines.rst b/llvm/docs/Coroutines.rst index 696a6ae..46dc2dc 100644 --- a/llvm/docs/Coroutines.rst +++ b/llvm/docs/Coroutines.rst @@ -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()