[all-commits] [llvm/llvm-project] 38ccee: [WASM] Fix for wasi libc build break add tan to Ru...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Tue Jun 11 07:44:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38ccee00346300c87abc34860398bc950c65eaec
      https://github.com/llvm/llvm-project/commit/38ccee00346300c87abc34860398bc950c65eaec
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
    M llvm/test/CodeGen/WebAssembly/libcalls.ll

  Log Message:
  -----------
  [WASM] Fix for wasi libc build break add tan to RuntimeLibcallSignatureTable (#95082)

The wasm backend fetches the tan runtime lib call in
`llvm/include/llvm/IR/RuntimeLibcalls.def` via `StaticLibcallNameMap()`,
but ignores the runtime function because a function sinature mapping is
not specified in RuntimeLibcallSignatureTable(). The fix is to specify
the function signatures for float32-128.

This is a fix for a build break reported on PR
https://github.com/llvm/llvm-project/pull/94559#issuecomment-2159923215.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list