You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llvm/docs/Coroutines.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -755,11 +755,11 @@ Custom ABIs and Plugin Libraries
755
755
756
756
Plugin libraries can extend coroutine lowering enabling a wide variety of users
757
757
to utilize the coroutine transformation passes. An existing coroutine lowering
758
-
is extended by: 1. defining custom ABIs that inherit from the existing ABIs,
759
-
2. give a list of generators for the custom ABIs when constructing the
760
-
`CoroSplit`_ pass, and 3. use `coro.begin.custom.abi` in place of `coro.begin`
761
-
with an additional parameter for the index of the generator/ABI to be used for
762
-
the coroutine.
758
+
is extended by:
759
+
760
+
#. defining custom ABIs that inherit from the existing ABIs,
761
+
#. give a list of generators for the custom ABIs when constructing the `CoroSplit`_ pass, and
762
+
#. use `coro.begin.custom.abi` in place of `coro.begin` that has an additional parameter for the index of the generator/ABI to be used for the coroutine.
763
763
764
764
A custom ABI overriding the SwitchABI's materialization looks like:
0 commit comments