[llvm] 89f4933 - [coroutine] Add missing presplitcoroutine attr to example
Itay Bookstein via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 00:24:33 PDT 2023
Author: Itay Bookstein
Date: 2023-06-22T10:23:52+03:00
New Revision: 89f493392d76fcf44ec8af3755b38f6423ded82b
URL: https://github.com/llvm/llvm-project/commit/89f493392d76fcf44ec8af3755b38f6423ded82b
DIFF: https://github.com/llvm/llvm-project/commit/89f493392d76fcf44ec8af3755b38f6423ded82b.diff
LOG: [coroutine] Add missing presplitcoroutine attr to example
Signed-off-by: Itay Bookstein <itay.bookstein at nextsilicon.com>
Added:
Modified:
llvm/docs/Coroutines.rst
Removed:
################################################################################
diff --git a/llvm/docs/Coroutines.rst b/llvm/docs/Coroutines.rst
index 696a6ae6b1efd..46dc2dcbee182 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()
More information about the llvm-commits
mailing list