llvm-project/llvm/lib/Target/WebAssembly/AsmParser
Wouter van Oortmerssen ac65366485 [WebAssembly] support "return" and unreachable code in asm type checker
To support return (it not being supported well was the ground cause for
https://github.com/WebAssembly/wasi-sdk/issues/200) we also have to have
at least a basic notion of unreachable, which in this case just means to stop
type checking until there is an end_block (an incoming control flow edge).
This is conservative (may miss on some type checking opportunities) but is
simple and an improvement over what we had before.

Differential Revision: https://reviews.llvm.org/D112953
2021-11-01 15:42:58 -07:00
..
CMakeLists.txt [WebAssembly] Added initial type checker to MC Assembler 2021-07-09 14:07:25 -07:00
WebAssemblyAsmParser.cpp [WebAssembly] support "return" and unreachable code in asm type checker 2021-11-01 15:42:58 -07:00
WebAssemblyAsmTypeCheck.cpp [WebAssembly] support "return" and unreachable code in asm type checker 2021-11-01 15:42:58 -07:00
WebAssemblyAsmTypeCheck.h [WebAssembly] support "return" and unreachable code in asm type checker 2021-11-01 15:42:58 -07:00