You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[wasm64] Fix return type of builtin float comparisons (#16941)
The llvm-generated calls always use i32 as the return type for float
comparisons such as __getf2, but compiler-rt was being built with
`long` as the return type resulting in linker warning and runtime
errors:
```
wasm-ld: warning: function signature mismatch: __eqtf2
>>> defined as (i64, i64, i64, i64) -> i32 in /usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm64-emscripten/libc-debug.a(fmodl.o)
>>> defined as (i64, i64, i64, i64) -> i64 in /usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm64-emscripten/libcompiler_rt.a(comparetf2.o)
```
0 commit comments