llvm-project/llvm/test/MC/WebAssembly
Thomas Lively 2cb27072ce [WebAssembly] Allow multivalue types in block signature operands
Summary:
Renames `ExprType` to the more apt `BlockType` and adds a variant for
multivalue blocks. Currently non-void blocks are only generated at the
end of functions where the block return type needs to agree with the
function return type, and that remains true for multivalue
blocks. That invariant means that the actual signature does not need
to be stored in the block signature `MachineOperand` because it can be
inferred by `WebAssemblyMCInstLower` from the return type of the
parent function. `WebAssemblyMCInstLower` continues to lower block
signature operands to immediates when possible but lowers multivalue
signatures to function type symbols. The AsmParser and Disassembler
are updated to handle multivalue block types as well.

Reviewers: aheejin, dschuff, aardappel

Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68889

llvm-svn: 374933
2019-10-15 18:28:22 +00:00
..
annotations.s
array-fill.ll [WebAssembly] Merge used feature sets, update atomics linkage policy 2019-03-29 00:14:01 +00:00
assembler-binary.ll [WebAssembly] Merge used feature sets, update atomics linkage policy 2019-03-29 00:14:01 +00:00
atomics-encodings.s [WebAssembly] Add atomic.fence instruction 2019-08-28 23:13:43 +00:00
bad-fixup-expr.s [WebAssembly][MC] Simplify WasmObjectWriter::recordRelocation. NFC. 2019-08-20 00:33:50 +00:00
basic-assembly-errors.s [WebAssembly] tablegen: distinguish float/int immediate operands. 2019-07-08 16:58:37 +00:00
basic-assembly.s [WebAssembly] Allow multivalue types in block signature operands 2019-10-15 18:28:22 +00:00
blockaddress.ll
bss.ll [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
bulk-memory-encodings.s
comdat.ll [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
compile-twice.ll
custom-code-section.ll
custom-sections.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
data-section.s [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
data-symbol-in-text-section.ll [MC][WebAssembly] Error on data symbols in the text section. 2019-09-25 23:33:16 +00:00
debug-info.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
dwarfdump.ll
event-section.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
explicit-sections.ll [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
external-data.ll [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
external-func-address.ll [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
file-headers.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
func-address.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
function-alias.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
function-sections.ll [WebAssembly] Remove trailing whitespaces in tests (NFC) 2019-03-06 02:00:22 +00:00
global-ctor-dtor.ll [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
import-module.ll [WebAssembly] Fix test after r359602 2019-04-30 19:58:56 +00:00
libcall.ll
lit.local.cfg
no-dead-strip.ll [WebAssembly] Make __attribute__((used)) not imply export. 2019-08-29 22:40:00 +00:00
null-output.s
objdump.s [WebAssembly] Rename except_ref type to exnref 2019-07-15 22:49:25 +00:00
offset.ll [WebAssembly] Remove trailing whitespaces in tests (NFC) 2019-03-06 02:00:22 +00:00
reloc-code.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
reloc-data.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
reloc-pic.s [WebAssembly] Fix p2align in assembler. 2019-06-27 18:11:15 +00:00
sections.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
simd-encodings.s [WebAssembly] v8x16.swizzle and rewrite BUILD_VECTOR lowering 2019-10-09 17:39:19 +00:00
stack-ptr.ll
tail-call-encodings.s [WebAssembly] Assembler/InstPrinter: support call_indirect type index. 2019-08-01 18:08:26 +00:00
type-index.s [WebAssembly] Assembler/InstPrinter: support call_indirect type index. 2019-08-01 18:08:26 +00:00
types.ll
unnamed-data.ll [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
visibility.ll [WebAssembly] Merge used feature sets, update atomics linkage policy 2019-03-29 00:14:01 +00:00
weak-alias.ll [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00
weak.ll [WebAssembly] Merge used feature sets, update atomics linkage policy 2019-03-29 00:14:01 +00:00