[all-commits] [llvm/llvm-project] 8de0c1: [Clang] Add __builtin_reduce_or and __builtin_redu...

Jun Zhang via All-commits all-commits at lists.llvm.org
Fri Jan 14 06:06:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8de0c1feca28e3de49b4d1d1140703cb6f739969
      https://github.com/llvm/llvm-project/commit/8de0c1feca28e3de49b4d1d1140703cb6f739969
  Author: Jun Zhang <jun at junz.org>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M clang/include/clang/Basic/Builtins.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/builtins-reduction-math.c
    M clang/test/Sema/builtins-reduction-math.c

  Log Message:
  -----------
  [Clang] Add __builtin_reduce_or and __builtin_reduce_and

This patch implements two builtins specified in D111529.
The last __builtin_reduce_add will be seperated into another one.

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




More information about the All-commits mailing list