[llvm] [clang] [HLSL] Implementation of tan intrinsic (PR #79948)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 07:48:51 PST 2024


================
@@ -1010,6 +1010,7 @@ let IntrProperties = [IntrNoMem, IntrSpeculatable, IntrWillReturn] in {
   def int_powi : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>, llvm_anyint_ty]>;
   def int_sin  : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
   def int_cos  : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
+  def int_tan  : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
----------------
farzonl wrote:

Thanks. I will pull the pr for now as I investigate alternatives.

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


More information about the cfe-commits mailing list