[PATCH] D93660: [WebAssembly][NFC] Refactor SIMD load/store tablegen defs

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 21 12:47:22 PST 2020


tlively created this revision.
tlively added a reviewer: aheejin.
Herald added subscribers: wingo, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100, dschuff.
tlively requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Introduce `Vec` records, each bundling all information related to a single SIMD
lane interpretation. This lets TableGen definitions take a single Vec parameter
from which they can extract information rather than taking multiple redundant
parameters. This commit refactors all of the SIMD load and store instruction
definitions to use the new `Vec`s. Subsequent commits will similarly refactor
additional instruction definitions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93660

Files:
  llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
  llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93660.313182.patch
Type: text/x-patch
Size: 21138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201221/5b369738/attachment-0001.bin>


More information about the llvm-commits mailing list