[X86] Replace call to isTruncStoreLegalOrCustom with isTruncStoreLegal. NFC
authorCraig Topper <craig.topper@intel.com>
Mon, 12 Aug 2019 19:26:22 +0000 (19:26 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 12 Aug 2019 19:26:22 +0000 (19:26 +0000)
We have no custom trunc stores on X86.

llvm-svn: 368606

llvm/lib/Target/X86/X86ISelLowering.cpp

index 54d2ac3..bacb7ab 100644 (file)
@@ -39633,7 +39633,7 @@ static SDValue combineStore(SDNode *N, SelectionDAG &DAG,
   if (!St->isTruncatingStore() && VT == MVT::v16i8 && !Subtarget.hasBWI() &&
       St->getValue().getOpcode() == ISD::TRUNCATE &&
       St->getValue().getOperand(0).getValueType() == MVT::v16i16 &&
-      TLI.isTruncStoreLegalOrCustom(MVT::v16i32, MVT::v16i8) &&
+      TLI.isTruncStoreLegal(MVT::v16i32, MVT::v16i8) &&
       !DCI.isBeforeLegalizeOps()) {
     SDValue Ext = DAG.getNode(ISD::ANY_EXTEND, dl, MVT::v16i32, St->getValue());
     return DAG.getTruncStore(St->getChain(), dl, Ext, St->getBasePtr(),