[all-commits] [llvm/llvm-project] 043eaa: [WebAssembly][NFC] Simplify vector shift lowering ...

Thomas Lively via All-commits all-commits at lists.llvm.org
Fri Jul 10 00:19:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 043eaa9a4a0808fe4e82b2ef1823ccafa491c065
      https://github.com/llvm/llvm-project/commit/043eaa9a4a0808fe4e82b2ef1823ccafa491c065
  Author: Thomas Lively <tlively at google.com>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

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

  Log Message:
  -----------
  [WebAssembly][NFC] Simplify vector shift lowering and add tests

This patch builds on 0d7286a652 by simplifying the code for detecting
splat values and adding new tests demonstrating the lowering of
splatted absolute value shift amounts, which are common in code
generated by Halide. 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.

Reviewed By: aheejin

Differential Revision: https://reviews.llvm.org/D83493




More information about the All-commits mailing list