[llvm] [WebAssembly] Implement lowering calls through funcref to call_ref when available (PR #162227)
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 8 14:50:11 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,
----------------
dschuff wrote:
pre-existing I guess, but can these be `ArrayRef`s? See https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h
https://github.com/llvm/llvm-project/pull/162227
More information about the llvm-commits
mailing list