[llvm] WebAssembly: Move runtime libcall setting out of TargetLowering (PR #142624)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 12:57:54 PDT 2025


================
@@ -277,5 +277,10 @@ void RuntimeLibcallsInfo::initLibcalls(const Triple &TT) {
       setLibcallName(RTLIB::MULO_I64, nullptr);
     }
     setLibcallName(RTLIB::MULO_I128, nullptr);
+  } else {
----------------
nikic wrote:

IIRC to preserve existing behavior and because these libcalls were listed in RuntimeLibcallSignatureTable.

I don't think wasm is typically used with libgcc? Is that supported?

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


More information about the llvm-commits mailing list