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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
lgtm % clang-format stuff.
lld/test/wasm/lto/thinlto-thin-archive-collision.ll | ||
---|---|---|
3 ↗ | (On Diff #383866) | Seems unrelated? |
lld/test/wasm/lto/thinlto-thin-archive-collision.ll | ||
---|---|---|
3 ↗ | (On Diff #383866) | It was needed to make tests pass on my machine, and since it is a tiny change it seemed ok |
lld/test/wasm/lto/thinlto-thin-archive-collision.ll | ||
---|---|---|
3 ↗ | (On Diff #383866) | Hmm. That is strange. Since it completely unrelated I don't think you should land this as part of this change. |
Comment Actions
Are there any type checker tests that are expected to fail?
llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp | ||
---|---|---|
77 |