[all-commits] [llvm/llvm-project] 85ef6b: [DXIL] Add tan intrinsic part 2 (#90277)

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Tue May 7 21:10:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85ef6b7c364f3b57c13c179bf278fe47366287a2
      https://github.com/llvm/llvm-project/commit/85ef6b7c364f3b57c13c179bf278fe47366287a2
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXIL.td
    A llvm/test/CodeGen/DirectX/tan.ll
    A llvm/test/CodeGen/DirectX/tan_error.ll

  Log Message:
  -----------
  [DXIL] Add tan intrinsic part 2 (#90277)

This change is an implementation of #87367's investigation on supporting
IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294

If you want an overarching view of how this will all connect see:
https://github.com/llvm/llvm-project/pull/90088

Changes:
-  `llvm/include/llvm/IR/Intrinsics.td` - Create the tan intrinsic
- `llvm/lib/Target/DirectX/DXIL.td` - Map `int_tan` (the tan intrinsic)
to the equivalent DXIL Op.



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