[llvm] [WebAssembly, llvm] Add llvm.wasm.ref.test.func intrinsic (PR #147486)

Hood Chatham via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 01:17:55 PDT 2025


================
@@ -152,6 +157,32 @@ MCOperand WebAssemblyMCInstLower::lowerTypeIndexOperand(
   return MCOperand::createExpr(Expr);
 }
 
+MCOperand
+WebAssemblyMCInstLower::lowerEncodedFunctionSignature(const APInt &Sig) const {
+  auto NumWords = Sig.getNumWords();
----------------
hoodmane wrote:

Well currently it says:
```
typedef uint64_t WordType;
```
so I think a word of an `APInt` is 64 bits on all architectures. So I think adding a comment is enough?

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


More information about the llvm-commits mailing list