[llvm] [clang] [HLSL] Implementation of tan intrinsic (PR #79948)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 29 23:55:50 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>]>;
----------------
efriedma-quic wrote:
Adding `@llvm.tan` is a significant change; if you need this, please post a proposal on Discord explaining what you're adding an why.
https://github.com/llvm/llvm-project/pull/79948
More information about the cfe-commits
mailing list