[all-commits] [llvm/llvm-project] f73ac2: [HLSL][clang] Add elementwise builtins for trig in...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Sat Jun 22 17:17:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f73ac218a666e2017565f2210b47332ddcf55f00
      https://github.com/llvm/llvm-project/commit/f73ac218a666e2017565f2210b47332ddcf55f00
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-22 (Sat, 22 Jun 2024)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/builtins-elementwise-math.c
    M clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
    A clang/test/CodeGenHLSL/builtins/acos.hlsl
    A clang/test/CodeGenHLSL/builtins/asin.hlsl
    A clang/test/CodeGenHLSL/builtins/atan.hlsl
    A clang/test/CodeGenHLSL/builtins/cosh.hlsl
    A clang/test/CodeGenHLSL/builtins/sinh.hlsl
    A clang/test/CodeGenHLSL/builtins/tanh.hlsl
    M clang/test/Sema/aarch64-sve-vector-trig-ops.c
    M clang/test/Sema/builtins-elementwise-math.c
    M clang/test/Sema/riscv-rvv-vector-trig-ops.c
    M clang/test/SemaCXX/builtins-elementwise-math.cpp
    M clang/test/SemaHLSL/BuiltIns/half-float-only-errors.hlsl

  Log Message:
  -----------
  [HLSL][clang] Add elementwise builtins for trig intrinsics (#95999)

This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294

This is part 3 of 4 PRs. It sets the ground work for using the
intrinsics in HLSL.

Add HLSL frontend apis for `acos`, `asin`, `atan`, `cosh`, `sinh`, and
`tanh`
https://github.com/llvm/llvm-project/issues/70079
https://github.com/llvm/llvm-project/issues/70080
https://github.com/llvm/llvm-project/issues/70081
https://github.com/llvm/llvm-project/issues/70083
https://github.com/llvm/llvm-project/issues/70084
https://github.com/llvm/llvm-project/issues/95966



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