[all-commits] [llvm/llvm-project] e4e2f5: [clang] Add sincos builtin using `llvm.sincos` int...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Mon Jan 6 03:07:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4e2f5369301d0965343406089d63ddfba4c08d0
      https://github.com/llvm/llvm-project/commit/e4e2f5369301d0965343406089d63ddfba4c08d0
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/AArch64/sincos.c
    M clang/test/CodeGen/X86/math-builtins.c
    M clang/test/OpenMP/declare_simd_aarch64.c

  Log Message:
  -----------
  [clang] Add sincos builtin using `llvm.sincos` intrinsic (#114086)

This registers `sincos[f|l]` as a clang builtin and updates GCBuiltin to
emit the `llvm.sincos.*` intrinsic when `-fno-math-errno` is set. Note:
`llvm.sincos.*` is only emitted by `__builtin_sincos[f|l]` functions in
this initial patch.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list