@@ -655,7 +655,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
655655 setOperationAction(ISD::FSIN , VT, Expand);
656656 setOperationAction(ISD::FCOS , VT, Expand);
657657 setOperationAction(ISD::FSINCOS, VT, Expand);
658- setOperationAction(ISD::FTAN , VT, Expand);
658+ setOperationAction(ISD::FTAN, VT, Expand);
659659 }
660660
661661 // Half type will be promoted by default.
@@ -731,7 +731,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
731731 setOperationAction(ISD::FSIN , MVT::f32, Expand);
732732 setOperationAction(ISD::FCOS , MVT::f32, Expand);
733733 setOperationAction(ISD::FSINCOS, MVT::f32, Expand);
734- setOperationAction(ISD::FTAN , MVT::f32, Expand);
734+ setOperationAction(ISD::FTAN, MVT::f32, Expand);
735735
736736 if (UseX87) {
737737 // Always expand sin/cos functions even though x87 has an instruction.
@@ -754,7 +754,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
754754 setOperationAction(ISD::FSIN , VT, Expand);
755755 setOperationAction(ISD::FCOS , VT, Expand);
756756 setOperationAction(ISD::FSINCOS, VT, Expand);
757- setOperationAction(ISD::FTAN , VT, Expand);
757+ setOperationAction(ISD::FTAN, VT, Expand);
758758 }
759759 }
760760
@@ -824,7 +824,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
824824 setOperationAction(ISD::FSIN , MVT::f80, Expand);
825825 setOperationAction(ISD::FCOS , MVT::f80, Expand);
826826 setOperationAction(ISD::FSINCOS, MVT::f80, Expand);
827- setOperationAction(ISD::FTAN , MVT::f80, Expand);
827+ setOperationAction(ISD::FTAN, MVT::f80, Expand);
828828
829829 setOperationAction(ISD::FFLOOR, MVT::f80, Expand);
830830 setOperationAction(ISD::FCEIL, MVT::f80, Expand);
@@ -882,8 +882,8 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
882882 setOperationAction(ISD::FCOS, MVT::f128, LibCall);
883883 setOperationAction(ISD::STRICT_FCOS, MVT::f128, LibCall);
884884 setOperationAction(ISD::FSINCOS, MVT::f128, LibCall);
885- setOperationAction(ISD::FTAN, MVT::f128, LibCall);
886- setOperationAction(ISD::STRICT_FTAN, MVT::f128, LibCall);
885+ setOperationAction(ISD::FTAN, MVT::f128, LibCall);
886+ setOperationAction(ISD::STRICT_FTAN, MVT::f128, LibCall);
887887 // No STRICT_FSINCOS
888888 setOperationAction(ISD::FSQRT, MVT::f128, LibCall);
889889 setOperationAction(ISD::STRICT_FSQRT, MVT::f128, LibCall);
@@ -938,7 +938,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
938938 setOperationAction(ISD::FSIN, VT, Expand);
939939 setOperationAction(ISD::FSINCOS, VT, Expand);
940940 setOperationAction(ISD::FCOS, VT, Expand);
941- setOperationAction(ISD::FTAN, VT, Expand);
941+ setOperationAction(ISD::FTAN, VT, Expand);
942942 setOperationAction(ISD::FREM, VT, Expand);
943943 setOperationAction(ISD::FCOPYSIGN, VT, Expand);
944944 setOperationAction(ISD::FPOW, VT, Expand);
@@ -2475,16 +2475,11 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
24752475 if (Subtarget.is32Bit() &&
24762476 (Subtarget.isTargetWindowsMSVC() || Subtarget.isTargetWindowsItanium()))
24772477 for (ISD::NodeType Op :
2478- {ISD::FCEIL, ISD::STRICT_FCEIL,
2479- ISD::FCOS, ISD::STRICT_FCOS,
2480- ISD::FEXP, ISD::STRICT_FEXP,
2481- ISD::FFLOOR, ISD::STRICT_FFLOOR,
2482- ISD::FREM, ISD::STRICT_FREM,
2483- ISD::FLOG, ISD::STRICT_FLOG,
2484- ISD::FLOG10, ISD::STRICT_FLOG10,
2485- ISD::FPOW, ISD::STRICT_FPOW,
2486- ISD::FSIN, ISD::STRICT_FSIN,
2487- ISD::FTAN, ISD::STRICT_FTAN})
2478+ {ISD::FCEIL, ISD::STRICT_FCEIL, ISD::FCOS, ISD::STRICT_FCOS,
2479+ ISD::FEXP, ISD::STRICT_FEXP, ISD::FFLOOR, ISD::STRICT_FFLOOR,
2480+ ISD::FREM, ISD::STRICT_FREM, ISD::FLOG, ISD::STRICT_FLOG,
2481+ ISD::FLOG10, ISD::STRICT_FLOG10, ISD::FPOW, ISD::STRICT_FPOW,
2482+ ISD::FSIN, ISD::STRICT_FSIN, ISD::FTAN, ISD::STRICT_FTAN})
24882483 if (isOperationExpand(Op, MVT::f32))
24892484 setOperationAction(Op, MVT::f32, Promote);
24902485
0 commit comments