When splitting a vector shuffle, fixed which type we used for the hi part

llvm-svn: 54007
This commit is contained in:
Mon P Wang 2008-07-25 01:30:26 +00:00
parent 0e5845c13a
commit 7334350d31
1 changed files with 1 additions and 1 deletions

View File

@ -6708,7 +6708,7 @@ void SelectionDAGLegalize::SplitVectorOp(SDOperand Op, SDOperand &Lo,
Ops.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, NewEltVT, InVec,
DAG.getConstant(Idx, PtrVT)));
}
Hi = DAG.getNode(ISD::BUILD_VECTOR, NewVT_Lo, &Ops[0], Ops.size());
Hi = DAG.getNode(ISD::BUILD_VECTOR, NewVT_Hi, &Ops[0], Ops.size());
break;
}
case ISD::BUILD_VECTOR: {