When splitting a vector shuffle, fixed which type we used for the hi part
llvm-svn: 54007
This commit is contained in:
parent
0e5845c13a
commit
7334350d31
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue