Pull in r342863 from upstream llvm trunk (by Hans Wennborg):

Remove debug printf leftover from r342397

PR:		234480
MFC after:	6 weeks
X-MFC-With:	r341825
This commit is contained in:
Dimitry Andric 2018-12-29 15:21:51 +00:00
parent 434fe561e1
commit a9419c7133
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342593

View File

@ -13738,8 +13738,6 @@ bool DAGCombiner::MergeStoresOfConstantsOrVecElts(
((uint64_t)IdxC * MemVT.getVectorNumElements()) / Elts;
Idx = DAG.getConstant(NewIdx, SDLoc(Val), Idx.getValueType());
}
if (!MemVT.isVector() && Val.getValueType().isVector())
dbgs() << "hit!\n";
EVT NewVecTy =
EVT::getVectorVT(*DAG.getContext(), MemVTScalarTy, Elts);
Vec = DAG.getBitcast(NewVecTy, Vec);