[llvm] [DirectX] Add trig intrinsics and link them with DXIL backend (PR #95968)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 12:28:15 PDT 2024
================
@@ -15384,6 +15384,228 @@ trapping or setting ``errno``.
When specified with the fast-math-flag 'afn', the result may be approximated
using a less accurate calculation.
+'``llvm.asin.*``' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Syntax:
+"""""""
+
+This is an overloaded intrinsic. You can use ``llvm.asin`` on any
+floating-point or vector of floating-point type. Not all targets support
+all types however.
+
+::
+
+ declare float @llvm.asin.f32(float %Val)
----------------
farzonl wrote:
Yeah. f16 is a target specific intrinsic. So there won’t be any general documentation for it.
https://github.com/llvm/llvm-project/pull/95968
More information about the llvm-commits
mailing list