Need help about LLVM build coroutine
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Mar 2 12:32:32 UTC 2024
From what I'm reading of the documentation, it looks like you have to
work at the IR level to declare a coroutine.
This isn't something you can do with only intrinsics in library code.
https://llvm.org/docs/Coroutines.html#introduction
Take note of the function attribute ``presplitcoroutine`` under
coroutine representation.
https://llvm.org/docs/Coroutines.html#coroutine-representation
More information about the digitalmars-d-ldc
mailing list