[all-commits] [llvm/llvm-project] 26029d: [DirectX] Add atan2 intrinsic and expand for DXIL ...

Tex Riddell via All-commits all-commits at lists.llvm.org
Tue Sep 24 10:42:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26029d77a57cb4aaa1479064109e985a90d0edd8
      https://github.com/llvm/llvm-project/commit/26029d77a57cb4aaa1479064109e985a90d0edd8
  Author: Tex Riddell <texr at microsoft.com>
  Date:   2024-09-24 (Tue, 24 Sep 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    A llvm/test/CodeGen/DirectX/atan2.ll
    A llvm/test/CodeGen/DirectX/atan2_error.ll

  Log Message:
  -----------
  [DirectX] Add atan2 intrinsic and expand for DXIL backend (p1) (#108865)

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

This preliminary work adds the intrinsic to llvm and expands using atan
intrinsic for DXIL backend, since DXIL has no atan2 op.

Part 1 for Implement the atan2 HLSL Function #70096.



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