[all-commits] [llvm/llvm-project] 7781e1: [clang] Lower non-builtin sincos[f|l] calls to llv...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Wed Feb 19 02:14:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7781e1040dc5b4a920628ee086e239cf46f74e49
      https://github.com/llvm/llvm-project/commit/7781e1040dc5b4a920628ee086e239cf46f74e49
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/AArch64/sincos.c
    M clang/test/CodeGen/math-libcalls.c

  Log Message:
  -----------
  [clang] Lower non-builtin sincos[f|l] calls to llvm.sincos.* when -fno-math-errno is set (#121763)

This will allow vectorizing these calls (after a few more patches). This
should not change the codegen for targets that enable the use of AA
during the codegen (in `TargetSubtargetInfo::useAA()`). This includes
targets such as AArch64. This notably does not include x86 but can be
worked around by passing `-mllvm -combiner-global-alias-analysis=true`
to clang.

Follow up to #114086.



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