[llvm] [WebAssembly] Implement lowering calls through funcref to call_ref when available (PR #162227)

Demetrius Kanios via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 8 15:03:33 PDT 2025


================
@@ -1173,6 +1197,60 @@ static bool callingConvSupported(CallingConv::ID CallConv) {
          CallConv == CallingConv::Swift;
 }
 
+APInt WebAssembly::encodeFunctionSignature(SelectionDAG *DAG, SDLoc &DL,
+                                           SmallVector<MVT, 4> &Returns,
----------------
QuantumSegfault wrote:

That was just the way I found it. But I see no reason why they couldn't be replaced with ArrayRef....I'll do that

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


More information about the llvm-commits mailing list