[X86] Tighten up the SDTypeProfile for X86ISD::CVTNE2PS2BF16. NFCI

This commit is contained in:
Craig Topper 2020-02-28 22:45:05 -08:00
parent af450eabb9
commit 5d6dfd877f
1 changed files with 3 additions and 1 deletions

View File

@ -761,7 +761,9 @@ def X86vfproundRnd: SDNode<"X86ISD::VFPROUND_RND",
// cvt fp to bfloat16
def X86cvtne2ps2bf16 : SDNode<"X86ISD::CVTNE2PS2BF16",
SDTypeProfile<1, 2, [SDTCisVec<0>, SDTCisVec<1>,
SDTypeProfile<1, 2, [SDTCVecEltisVT<0, i16>,
SDTCVecEltisVT<1, f32>,
SDTCisSameSizeAs<0,1>,
SDTCisSameAs<1,2>]>>;
def X86mcvtneps2bf16 : SDNode<"X86ISD::MCVTNEPS2BF16",
SDTypeProfile<1, 3, [SDTCVecEltisVT<0, i16>,