Need help about LLVM build coroutine

Dakota dakota at gmail.com
Mon Mar 4 05:51:01 UTC 2024


On Saturday, 2 March 2024 at 13:18:47 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
>
> On 03/03/2024 2:14 AM, Dakota wrote:
>
> That c++ file belongs to LLVM, it is an older intrinsics file 
> that I believe from my quick searches has been replaced.
>
> We can define it ourselves as part of ldc, that isn't the issue.
>
> The compiler itself needs to be modified to output the 
> appropriate IR for the coroutine function.
>
> There are no free lunches here unfortunately.
>
> Unless you want to learn LLVM IR and to modify ldc to support 
> it, there is nothing you can do here beyond talk about how you 
> want it in D.General sorry.

Thanks.


More information about the digitalmars-d-ldc mailing list