[llvm] [WASM] Fix for wasi libc build break add tan to RuntimeLibcallSignatureTable (PR #95082)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 07:03:03 PDT 2024


================
@@ -285,7 +287,8 @@ define double @f64libcalls(double %x, double %y, i32 %z) {
  %h = call fast double @llvm.pow.f64(double %g, double 0x3FD5555555555555)
  %i = call i32 @llvm.lround(double %h)
  %j = call double @llvm.ldexp.f64.i32(double %x, i32 %i);
- %result = call {double, i32} @llvm.frexp.f64.i32(double %j)
+ %k = call double @llvm.tan.f64(double %j)
----------------
farzonl wrote:

i waa trying to keep the diff down, putting it at the end changed less pop\push counts.

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


More information about the llvm-commits mailing list