[all-commits] [llvm/llvm-project] 2456e1: [WebAssembly] Add SIMD intrinsics using unsigned i...

Thomas Lively via All-commits all-commits at lists.llvm.org
Fri Aug 20 08:57:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2456e11614c10a2e648005e27e3213c77b7ab7a4
      https://github.com/llvm/llvm-project/commit/2456e11614c10a2e648005e27e3213c77b7ab7a4
  Author: Thomas Lively <tlively at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M clang/lib/Headers/wasm_simd128.h
    M clang/test/Headers/wasm.c

  Log Message:
  -----------
  [WebAssembly] Add SIMD intrinsics using unsigned integers

For each SIMD intrinsic function that takes or returns a scalar signed integer
value, ensure there is a corresponding intrinsic that returns or an
unsigned value. This is a convenience for users who use -Wsign-conversion so
they don't have to insert explicit casts, especially when the intrinsic
arguments are integer literals that fit into the unsigned integer type but not
the signed type.

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




More information about the All-commits mailing list