[all-commits] [llvm/llvm-project] de6cd3: [WebAssembly] Add SIMD integer abs builtins

Thomas Lively via All-commits all-commits at lists.llvm.org
Sat Mar 21 00:27:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: de6cd3e836e10ca1b893459d38e7052b7513d55e
      https://github.com/llvm/llvm-project/commit/de6cd3e836e10ca1b893459d38e7052b7513d55e
  Author: Thomas Lively <tlively at google.com>
  Date:   2020-03-21 (Sat, 21 Mar 2020)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtins-wasm.c

  Log Message:
  -----------
  [WebAssembly] Add SIMD integer abs builtins

Summary:
Since the conditional operator cannot be used with vector conditions
in C, we need a builtin to be able to express this operation in C
source.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, sunfish, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list