[PATCH] D83493: [WebAssembly][NFC] Simplify vector shift lowering and add tests

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 10:16:03 PDT 2020


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

This patch builds on 0d7286a652 <https://reviews.llvm.org/rG0d7286a652371bca460357348f3b4828cd4ca214> by simplifying the code for detecting
splat values and adding new tests demonstrating the lowering of
splatted absolute value shift amounts. The lowering is very bad right
now, but subsequent patches will improve it considerably. The tests
will be useful for evaluating the improvements in those patches.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83493

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/test/CodeGen/WebAssembly/simd-shift-complex-splats.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83493.276769.patch
Type: text/x-patch
Size: 5072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200709/f1078de4/attachment.bin>


More information about the llvm-commits mailing list