[all-commits] [llvm/llvm-project] cfe1ad: Reland: [DirectX] Add atan2 intrinsic and expand f...

Tex Riddell via All-commits all-commits at lists.llvm.org
Tue Sep 24 21:06:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfe1adc42a5e6a81741f868aff2cf06cec3c24c1
      https://github.com/llvm/llvm-project/commit/cfe1adc42a5e6a81741f868aff2cf06cec3c24c1
  Author: Tex Riddell <texr at microsoft.com>
  Date:   2024-09-25 (Wed, 25 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:
  -----------
  Reland: [DirectX] Add atan2 intrinsic and expand for DXIL backend (p1) (#109878)

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.

(reland #108865 reverted in #109842 due to doc build break)



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