[llvm] [DXIL] Add radians intrinsic (PR #110616)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 12:53:37 PDT 2024
================
@@ -85,4 +85,5 @@ def int_dx_rsqrt : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]
def int_dx_wave_is_first_lane : DefaultAttrsIntrinsic<[llvm_i1_ty], [], [IntrConvergent]>;
def int_dx_sign : DefaultAttrsIntrinsic<[LLVMScalarOrSameVectorWidth<0, llvm_i32_ty>], [llvm_any_ty], [IntrNoMem]>;
def int_dx_step : DefaultAttrsIntrinsic<[LLVMMatchType<0>], [llvm_anyfloat_ty, LLVMMatchType<0>], [IntrNoMem]>;
+def int_dx_radians : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>], [IntrNoMem]>;
----------------
farzonl wrote:
add this intrinsic to `isTargetIntrinsicTriviallyScalarizable` in `DirectXTargetTransformInfo.cpp`
https://github.com/llvm/llvm-project/pull/110616
More information about the llvm-commits
mailing list