[all-commits] [llvm/llvm-project] 1a57ee: [WebAssembly] Codegen for v128.load{32, 64}_zero

Thomas Lively via All-commits all-commits at lists.llvm.org
Wed Jul 21 09:02:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a57ee1276edd90d13ca0d7e617c647bfe28377f
      https://github.com/llvm/llvm-project/commit/1a57ee1276edd90d13ca0d7e617c647bfe28377f
  Author: Thomas Lively <tlively at google.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtins-wasm.c
    M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/CodeGen/WebAssembly/simd-load-store-alignment.ll
    M llvm/test/CodeGen/WebAssembly/simd-load-zero-offset.ll

  Log Message:
  -----------
  [WebAssembly] Codegen for v128.load{32,64}_zero

Replace the experimental clang builtins and LLVM intrinsics for these
instructions with normal instruction selection patterns. The wasm_simd128.h
intrinsics header was already using portable code for the corresponding
intrinsics, so now it produces the correct instructions.

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




More information about the All-commits mailing list