[all-commits] [llvm/llvm-project] 1ef25d: [Clang] Add elementwise min/max builtins.

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Oct 26 08:54:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ef25d28c19e3b2e956ffcb39c91f98c154f9b3f
      https://github.com/llvm/llvm-project/commit/1ef25d28c19e3b2e956ffcb39c91f98c154f9b3f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-10-26 (Tue, 26 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
    A clang/test/CodeGen/builtins-elementwise-math.c
    A clang/test/Sema/builtins-elementwise-math.c
    A clang/test/SemaCXX/builtins-elementwise-math.cpp

  Log Message:
  -----------
  [Clang] Add elementwise min/max builtins.

This patch implements __builtin_elementwise_max and
__builtin_elementwise_min, as specified in D111529.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list