[WebAssembly] Update WebAssemblyAsmTypeCheck for table.get
authorkamenokonokotan <kamenokonokotan@gmail.com>
Sat, 5 Mar 2022 15:34:28 +0000 (16:34 +0100)
committerPaulo Matos <pmatos@igalia.com>
Sat, 5 Mar 2022 15:57:29 +0000 (16:57 +0100)
commit219a2eb4d48fd5708452ed5cec14a9e1609c9ee5
tree52cb9001d470c1a2273a6ec49d610bfbd0116da6
parent33b61c567883f81c97c26ccdb2afe405e4de794c
[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]