[all-commits] [llvm/llvm-project] 01870d: [Clang] Add elementwise abs builtin.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Oct 27 13:04:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01870d51b848166eee59ed2e77be0199a561cf59
      https://github.com/llvm/llvm-project/commit/01870d51b848166eee59ed2e77be0199a561cf59
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M clang/include/clang/Basic/Builtins.def
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/builtins-elementwise-math.c
    M clang/test/Sema/builtins-elementwise-math.c
    M clang/test/SemaCXX/builtins-elementwise-math.cpp

  Log Message:
  -----------
  [Clang] Add elementwise abs builtin.

This patch implements __builtin_elementwise_abs as specified in
D111529.

Reviewed By: aaron.ballman, scanon

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




More information about the All-commits mailing list