[all-commits] [llvm/llvm-project] 8a2729: [WebAssembly] Improve codegen for loading scalars ...

fanchenkong1 via All-commits all-commits at lists.llvm.org
Wed Sep 21 21:06:02 PDT 2022


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

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/CodeGen/WebAssembly/simd-offset.ll

  Log Message:
  -----------
  [WebAssembly] Improve codegen for loading scalars from memory to v128

Use load32_zero instead of load32_splat to load the low 32 bits from memory to
v128. Test cases are added to cover this change.

Reviewed By: tlively

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




More information about the All-commits mailing list