[all-commits] [llvm/llvm-project] b198b9: [WebAssembly] Fix argument types in SIMD narrowing...

Thomas Lively via All-commits all-commits at lists.llvm.org
Thu May 6 10:08:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b198b9b8974b19c9e8493f8d70c85ac54182597a
      https://github.com/llvm/llvm-project/commit/b198b9b8974b19c9e8493f8d70c85ac54182597a
  Author: Thomas Lively <tlively at google.com>
  Date:   2021-05-06 (Thu, 06 May 2021)

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

  Log Message:
  -----------
  [WebAssembly] Fix argument types in SIMD narrowing intrinsics

The builtins were updated to take signed parameters in 627a52695537, but the
intrinsics that use those builtins were not updated as well. The intrinsic test
did not catch this sign mismatch because it is only reported as an error under
-fno-lax-vector-conversions.

This commit fixes the type mismatch and adds -fno-lax-vector-conversions to the
test to catch similar problems in the future.

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




More information about the All-commits mailing list