From 89f493392d76fcf44ec8af3755b38f6423ded82b Mon Sep 17 00:00:00 2001 From: Itay Bookstein Date: Thu, 22 Jun 2023 10:23:52 +0300 Subject: [PATCH] [coroutine] Add missing presplitcoroutine attr to example Signed-off-by: Itay Bookstein --- llvm/docs/Coroutines.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.7.4