[llvm] [DirectX] Add trig intrinsics and link them with DXIL backend (PR #95968)

Helena Kotas via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 12:08:19 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)
----------------
hekota wrote:

Is `llvm.asin.f16` intentionally excluded here and everywhere else below?

https://github.com/llvm/llvm-project/pull/95968


More information about the llvm-commits mailing list