@@ -1137,6 +1137,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
1137
1137
setOperationAction(ISD::FDIV, MVT::v8f16, Expand);
1138
1138
setOperationAction(ISD::FNEG, MVT::v8f16, Custom);
1139
1139
setOperationAction(ISD::FABS, MVT::v8f16, Custom);
1140
+ setOperationAction(ISD::FCOPYSIGN, MVT::v8f16, Custom);
1140
1141
1141
1142
// Custom lower v2i64 and v2f64 selects.
1142
1143
setOperationAction(ISD::SELECT, MVT::v2f64, Custom);
@@ -1598,6 +1599,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
1598
1599
setF16Action(MVT::v16f16, Expand);
1599
1600
setOperationAction(ISD::FNEG, MVT::v16f16, Custom);
1600
1601
setOperationAction(ISD::FABS, MVT::v16f16, Custom);
1602
+ setOperationAction(ISD::FCOPYSIGN, MVT::v16f16, Custom);
1601
1603
setOperationAction(ISD::FADD, MVT::v16f16, Expand);
1602
1604
setOperationAction(ISD::FSUB, MVT::v16f16, Expand);
1603
1605
setOperationAction(ISD::FMUL, MVT::v16f16, Expand);
@@ -2056,6 +2058,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
2056
2058
}
2057
2059
setOperationAction(ISD::FNEG, MVT::v32f16, Custom);
2058
2060
setOperationAction(ISD::FABS, MVT::v32f16, Custom);
2061
+ setOperationAction(ISD::FCOPYSIGN, MVT::v32f16, Custom);
2059
2062
}
2060
2063
2061
2064
// This block control legalization of v32i1/v64i1 which are available with
0 commit comments