[PATCH] D68889: [WebAssembly] Allow multivalue types in block signature operands
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 16:51:36 PDT 2019
dschuff added inline comments.
================
Comment at: llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h:135
+ Exnref = unsigned(wasm::ValType::EXNREF),
+ // Will be lowered to match the function return type in MCInstLower
+ Multivalue = 0xffff,
----------------
The invariant that only fallthrough-return blocks are allowed to be multivalue should probably be restated here.
edit: I guess it's not just fallthrough-return blocks, right? Just the last block, even if it has an explicit return?
We should probably have some more tests for those cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68889/new/
https://reviews.llvm.org/D68889
More information about the llvm-commits
mailing list