[compiler-rt] [llvm] [WebAssembly] Explicitly set `getCmpLibcallReturnType` to i32 (PR #192425)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 09:14:18 PDT 2026


sbc100 wrote:

> > Any idea why this hasn't shown up already, for example, in emscripten?
> 
> @Spxg pointed out in [rust-lang/compiler-builtins#1199](https://github.com/rust-lang/compiler-builtins/issues/1199) that emscripten's fork of compiler-rt is patching for this https://github.com/emscripten-core/emscripten/blob/88e0002141254cdb772b558f63d2c1ad9b215eb2/system/lib/compiler-rt/lib/builtins/fp_compare_impl.inc#L15.

Oh yes that makes sense :)

How about just porting emscripten patch here (i.e. just modifying line 15 instead of adding a whole new block?)

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


More information about the llvm-commits mailing list