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

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 13:31:57 PDT 2025


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

I suspect this predates when we had an emscripten triple, and it should probably be behind `isOSEmscripten()`

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


More information about the llvm-commits mailing list