================ @@ -847,6 +847,91 @@ def X86vcvttp2iubs : SDNode<"X86ISD::CVTTP2IUBS", SDTFloatToInt>; def X86vcvttp2ibsSAE : SDNode<"X86ISD::CVTTP2IBS_SAE", SDTFloatToInt>; def X86vcvttp2iubsSAE : SDNode<"X86ISD::CVTTP2IUBS_SAE", SDTFloatToInt>; +def SDTAVX10CONVERT_I82F16 : SDTypeProfile<1, 2, [ + SDTCVecEltisVT<0, i8>, SDTCVecEltisVT<1, f16>, SDTCisSameAs<1, 2> +]>; + +def SDTAVX10CONVERT_F16I8 : SDTypeProfile<1, 1, [ + SDTCVecEltisVT<0, f16>, SDTCVecEltisVT<1, i8> +]>; + +def SDTAVX10CONVERT_I8F16 : SDTypeProfile<1, 1, [ + SDTCVecEltisVT<0, i8>, SDTCVecEltisVT<1, f16> +]>; + +def SDTAVX10CONVERT_I8F16_MASK : SDTypeProfile<1, 3, [ + SDTCVecEltisVT<0, i8>, SDTCVecEltisVT<1, f16>, + SDTCisSameAs<0, 2>, SDTCVecEltisVT<3, i1>, + SDTCisSameNumEltsAs<1, 3> +]>; + +def SDTAVX10CONVERT_2I8F16 : SDTypeProfile<1, 2, [ + SDTCVecEltisVT<0, i8>, SDTCVecEltisVT<1, i8>, SDTCVecEltisVT<2, f16> +]>; + +def SDTAVX10CONVERT_2I8F16_MASK : SDTypeProfile<1, 4, [ + SDTCVecEltisVT<0, i8>, SDTCisSameAs<0, 1>, + SDTCVecEltisVT<2, f16>, SDTCisSameAs<0, 3>, SDTCVecEltisVT<4, i1>, + SDTCisSameNumEltsAs<2, 4> +]>; + +def X86vcvt2ps2phx : SDNode<"X86ISD::VCVT2PS2PHX", + SDTypeProfile<1, 2, [SDTCVecEltisVT<0, f16>, + SDTCVecEltisVT<1, f32>, + SDTCisSameAs<1,2>]>>; ---------------- phoebewang wrote:
indentation https://github.com/llvm/llvm-project/pull/101600 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits