From: Craig Topper Date: Mon, 14 Jan 2019 02:59:08 +0000 (+0000) Subject: [X86] Update type profile for DBPSADBW to indicate the immediate is an i8 not just... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7d724bd4f101c633b7a359ecfd39353a2dc43ec;p=llvm [X86] Update type profile for DBPSADBW to indicate the immediate is an i8 not just any int. Removes some type checks from X86GenDAGISel.inc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351033 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrFragmentsSIMD.td b/lib/Target/X86/X86InstrFragmentsSIMD.td index 47c54ed7040..11a27ba9058 100644 --- a/lib/Target/X86/X86InstrFragmentsSIMD.td +++ b/lib/Target/X86/X86InstrFragmentsSIMD.td @@ -75,7 +75,7 @@ def X86dbpsadbw : SDNode<"X86ISD::DBPSADBW", SDTypeProfile<1, 3, [SDTCVecEltisVT<0, i16>, SDTCVecEltisVT<1, i8>, SDTCisSameSizeAs<0,1>, - SDTCisSameAs<1,2>, SDTCisInt<3>]>>; + SDTCisSameAs<1,2>, SDTCisVT<3, i8>]>>; def X86andnp : SDNode<"X86ISD::ANDNP", SDTypeProfile<1, 2, [SDTCisVec<0>, SDTCisSameAs<0,1>, SDTCisSameAs<0,2>]>>;