[WebAssembly] Update WebAssemblyAsmTypeCheck for table.get
authornokotan <kamenokonokotan@gmail.com>
Fri, 4 Mar 2022 12:01:25 +0000 (13:01 +0100)
committerPaulo Matos <pmatos@igalia.com>
Fri, 4 Mar 2022 12:02:02 +0000 (13:02 +0100)
commit6b2482f6f4729a76776a48ac3b4a3fcd401a880e
treefe4048a3d0313a5f294e2ad716da70132af7132a
parent42b4a6227e3e6ea6d3f62ee5a65c43e5d6e46ed3
[WebAssembly] Update WebAssemblyAsmTypeCheck for table.get

This patch is aimed to resolve [[ https://github.com/llvm/llvm-project/issues/53789 | GitHub Issue #53789 ]].

Reviewed By: sbc100

Differential Revision: https://reviews.llvm.org/D120229
llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.h
llvm/test/MC/WebAssembly/funcref-from-table.s [new file with mode: 0644]