[llvm] [DirectX] Add atan2 intrinsic and expand for DXIL backend (p1) (PR #108865)

Tex Riddell via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 20:07:40 PDT 2024


================
@@ -0,0 +1,52 @@
+; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s | FileCheck %s
+
+; Make sure correct dxil expansions for atan2 are generated for float and half.
----------------
tex3d wrote:

I added a vector test.  Let me know if this looks good now.

https://github.com/llvm/llvm-project/pull/108865


More information about the llvm-commits mailing list