[PATCH] D51320: [WebAssembly] Made disassembler only use stack instructions.
Wouter van Oortmerssen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 27 14:00:18 PDT 2018
aardappel created this revision.
aardappel added reviewers: dschuff, jgravelle-google, sunfish, tlively.
Herald added subscribers: llvm-commits, aheejin, sbc100.
Now uses the StackBased bit from the tablegen defs to identify
stack instructions (and ignore register based or non-wasm instructions).
Also changed how we store operands, since we now have up to 16 of them
per instruction. To not cause static data bloat, these are compressed
into a tiny table.
+ a few other cleanups.
Tested:
- MCTest
- llvm-lit -v `find test -name WebAssembly`
Repository:
rL LLVM
https://reviews.llvm.org/D51320
Files:
lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
test/MC/Disassembler/WebAssembly/wasm.txt
utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51320.162744.patch
Type: text/x-patch
Size: 6285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180827/46854578/attachment.bin>
More information about the llvm-commits
mailing list