[llvm] [WebAssembly] Add Support for Arc and Hyperbolic trig llvm intrinsics (PR #98755)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 13 11:17:30 PDT 2024


================
@@ -0,0 +1,296 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -disable-wasm-fallthrough-return-opt -wasm-keep-registers | FileCheck %s
+
+; Test a subset of compiler-rt/libm libcalls expected to be emitted by the wasm backend
+
+target triple = "wasm32-unknown-unknown"
+
+declare fp128 @llvm.sin.f128(fp128)
+declare fp128 @llvm.cos.f128(fp128)
----------------
farzonl wrote:

There were no existing f128 cases for sin\cos\tan so added them even though this change does not add them.

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


More information about the llvm-commits mailing list