[all-commits] [llvm/llvm-project] c9801d: [WebAssembly][MC] Record limit constraints for tab...
Andy Wingo via All-commits
all-commits at lists.llvm.org
Wed Mar 24 01:47:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9801db2eb4b273ccf4b793784911b4465366f68
https://github.com/llvm/llvm-project/commit/c9801db2eb4b273ccf4b793784911b4465366f68
Author: Andy Wingo <wingo at igalia.com>
Date: 2021-03-24 (Wed, 24 Mar 2021)
Changed paths:
M llvm/include/llvm/MC/MCSymbolWasm.h
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
M llvm/test/MC/WebAssembly/tables.s
Log Message:
-----------
[WebAssembly][MC] Record limit constraints for table sizes
This commit adds a full WasmTableType to MCSymbolWasm, differing from
the current situation (just an ElemType) in that it additionally records
a WasmLimits.
We add support for specifying the limits in .S files also, via the
following syntax variations:
.tabletype SYM, ELEMTYPE
.tabletype SYM, ELEMTYPE, MINSIZE
.tabletype SYM, ELEMTYPE, MINSIZE, MAXSIZE
Depends on D99186.
Differential Revision: https://reviews.llvm.org/D99191
More information about the All-commits
mailing list