[llvm-dev] NVPTX codegen for llvm.sin (and friends)
Johannes Doerfert via llvm-dev
llvm-dev at lists.llvm.org
Wed Mar 10 11:41:11 PST 2021
Artem, Justin,
I am running into a problem and I'm curious if I'm missing something or
if the support is simply missing.
Am I correct to assume the NVPTX backend does not deal with `llvm.sin`
and friends?
This is what I see, with some variations: https://godbolt.org/z/PxsEWs
If this is missing in the backend, is there a plan to get this working,
I'd really like to have the
intrinsics in the middle end rather than __nv_cos, not to mention that
-ffast-math does emit intrinsics
and crashes.
~ Johannes
--
───────────────────
∽ Johannes (he/his)
More information about the llvm-dev
mailing list