[all-commits] [llvm/llvm-project] 28557e: [WebAssembly] Improve codegen for shuffles with un...

fanchenkong1 via All-commits all-commits at lists.llvm.org
Tue Sep 13 16:03:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28557e8c9872a31a29cf0aca19e9d036caf7eff4
      https://github.com/llvm/llvm-project/commit/28557e8c9872a31a29cf0aca19e9d036caf7eff4
  Author: Fanchen Kong <fanchen.kong at intel.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/test/CodeGen/WebAssembly/fpclamptosat_vec.ll
    M llvm/test/CodeGen/WebAssembly/simd-build-vector.ll
    M llvm/test/CodeGen/WebAssembly/simd-concat.ll
    M llvm/test/CodeGen/WebAssembly/simd-conversions.ll
    M llvm/test/CodeGen/WebAssembly/simd-extending.ll
    M llvm/test/CodeGen/WebAssembly/simd.ll

  Log Message:
  -----------
  [WebAssembly] Improve codegen for shuffles with undefined lane indices

For undefined lane indices, fill the mask with {0..N} instead of zeros to allow
further reduction to word/dword shuffle on the VM.

Reviewed By: tlively, penzn

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




More information about the All-commits mailing list