[all-commits] [llvm/llvm-project] 45783d: [WebAssembly] Implement i64x2 comparisons

Thomas Lively via All-commits all-commits at lists.llvm.org
Wed Mar 31 10:46:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45783d0e8a3632b7c1f5b0cdd258bfba1f8583e7
      https://github.com/llvm/llvm-project/commit/45783d0e8a3632b7c1f5b0cdd258bfba1f8583e7
  Author: Thomas Lively <tlively at google.com>
  Date:   2021-03-31 (Wed, 31 Mar 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-comparisons.ll
    M llvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
    M llvm/test/CodeGen/WebAssembly/simd-select.ll
    M llvm/test/MC/WebAssembly/simd-encodings.s

  Log Message:
  -----------
  [WebAssembly] Implement i64x2 comparisons

Removes the prototype builtin and intrinsic for i64x2.eq and implements that
instruction as well as the other i64x2 comparison instructions in the final SIMD
spec. Unsigned comparisons were not included in the final spec, so they still
need to be scalarized via a custom lowering.

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




More information about the All-commits mailing list