[PATCH] D51318: [WebAssembly] TableGen backend for stackifying instructions

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 12:57:20 PDT 2018


tlively created this revision.
tlively added reviewers: aardappel, aheejin, dschuff.
Herald added subscribers: llvm-commits, jfb, sunfish, jgravelle-google, sbc100, mgorny.

The new stackification backend generates the giant switch statement
used to translate instructions to their stackified forms. I did this
because it was more interesting than adding all the different vector
versions of the various SIMD instructions to the switch statment
manually.


Repository:
  rL LLVM

https://reviews.llvm.org/D51318

Files:
  lib/Target/WebAssembly/CMakeLists.txt
  lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  utils/TableGen/CMakeLists.txt
  utils/TableGen/TableGen.cpp
  utils/TableGen/TableGenBackends.h
  utils/TableGen/WebAssemblyStackifierEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51318.162730.patch
Type: text/x-patch
Size: 29885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180827/658158eb/attachment.bin>


More information about the llvm-commits mailing list