Open
Description
declare half @air.sincos.f16(half, half* nocapture writeonly)
vs
declare half @air.sincos.f16(half, i64)
So the problem is we aren't passing a pointer, but an
i64
. This can be fixed by using@typed_ccall
from LLVM.jl instead of plainccall
.It's also probably useful to add those annotations to
Lines 1161 to 1203 in 47a4a8b