[PATCH] D148054: [WebAssembly] `AsmTypeCheck` support to br instr
Congcong Cai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 14:36:40 PDT 2023
HerrCai0907 created this revision.
HerrCai0907 added a reviewer: aheejin.
Herald added subscribers: pmatos, asb, ecnelises, mikhail.ramalho, sunfish, hiraditya, jgravelle-google, sbc100, dschuff.
Herald added a project: All.
HerrCai0907 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This PR introduces the `BrStack` member to store the info about
`loop`, `block`, `if` and `try`. It can check whether `br` immediate number
out of range.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148054
Files:
llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.h
llvm/test/MC/WebAssembly/type-checker-errors.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148054.512585.patch
Type: text/x-patch
Size: 6593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/f0694b32/attachment.bin>
More information about the llvm-commits
mailing list