[PATCH] D67784: [WebAssembly] vNxM.load_splat instructions

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 18:49:48 PDT 2019


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

Adds the new load_splat instructions as specified at
https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#load-and-splat.

DAGISel does not allow matching multiple copies of the same load in a
single pattern, so we use a new node in WebAssemblyISD to wrap loads
that should be splatted.

Depends on D67783 <https://reviews.llvm.org/D67783>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67784

Files:
  llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
  llvm/lib/Target/WebAssembly/WebAssemblyISD.def
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
  llvm/test/CodeGen/WebAssembly/simd-offset.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67784.220931.patch
Type: text/x-patch
Size: 46146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190920/bd6d1143/attachment.bin>


More information about the llvm-commits mailing list