Intrinsic has incorrect return type for LLVM IR token
Calvin P
cloudlessapp at gmail.com
Thu Dec 10 08:05:41 UTC 2020
On Thursday, 10 December 2020 at 07:49:33 UTC, Calvin P wrote:
> https://run.dlang.io/is/kZZCEP
>
> I try play with LLVM Intrinsic, what is the type for LLVM IR
> token https://reviews.llvm.org/D11861
This type seems not exists in LDC:
https://github.com/ldc-developers/ldc/blob/master/ir/irtype.cpp
Maybe we can add this into LDC so D can support LLVM coroutine.
like this
pragma(LDC_intrinsic_type, "token")
struct llvm_token;
Or create a LLVM_TOKEN built-in type.
More information about the digitalmars-d-ldc
mailing list