]> granicus.if.org Git - llvm/commitdiff
[X86] Update type profile for DBPSADBW to indicate the immediate is an i8 not just...
authorCraig Topper <craig.topper@intel.com>
Mon, 14 Jan 2019 02:59:08 +0000 (02:59 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 14 Jan 2019 02:59:08 +0000 (02:59 +0000)
Removes some type checks from X86GenDAGISel.inc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351033 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrFragmentsSIMD.td

index 47c54ed70406bc2f7d1d00cdf8239b35d75c5ec8..11a27ba90586bef590117bba3c8edc1da1374bda 100644 (file)
@@ -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>]>>;