@@ -509,6 +509,7 @@ def fneg : SDNode<"ISD::FNEG" , SDTFPUnaryOp>;
509509def fsqrt : SDNode<"ISD::FSQRT" , SDTFPUnaryOp>;
510510def fsin : SDNode<"ISD::FSIN" , SDTFPUnaryOp>;
511511def fcos : SDNode<"ISD::FCOS" , SDTFPUnaryOp>;
512+ def ftan : SDNode<"ISD::FTAN" , SDTFPUnaryOp>;
512513def fexp2 : SDNode<"ISD::FEXP2" , SDTFPUnaryOp>;
513514def fexp10 : SDNode<"ISD::FEXP10" , SDTFPUnaryOp>;
514515def fpow : SDNode<"ISD::FPOW" , SDTFPBinOp>;
@@ -562,6 +563,8 @@ def strict_fsin : SDNode<"ISD::STRICT_FSIN",
562563 SDTFPUnaryOp, [SDNPHasChain]>;
563564def strict_fcos : SDNode<"ISD::STRICT_FCOS",
564565 SDTFPUnaryOp, [SDNPHasChain]>;
566+ def strict_ftan : SDNode<"ISD::STRICT_FTAN",
567+ SDTFPUnaryOp, [SDNPHasChain]>;
565568def strict_fexp2 : SDNode<"ISD::STRICT_FEXP2",
566569 SDTFPUnaryOp, [SDNPHasChain]>;
567570def strict_fpow : SDNode<"ISD::STRICT_FPOW",
@@ -1514,6 +1517,9 @@ def any_fsin : PatFrags<(ops node:$src),
15141517def any_fcos : PatFrags<(ops node:$src),
15151518 [(strict_fcos node:$src),
15161519 (fcos node:$src)]>;
1520+ def any_ftan : PatFrags<(ops node:$src),
1521+ [(strict_ftan node:$src),
1522+ (ftan node:$src)]>;
15171523def any_fexp2 : PatFrags<(ops node:$src),
15181524 [(strict_fexp2 node:$src),
15191525 (fexp2 node:$src)]>;
0 commit comments