Actually scalarize the operand to BIT_CONVERT instead of asking someone to do

something with a v1 type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51160 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nate Begeman 2008-05-15 20:40:58 +00:00
parent 20a3ca6155
commit b434513a20

View File

@ -7110,7 +7110,8 @@ SDOperand SelectionDAGLegalize::ScalarizeVectorOp(SDOperand Op) {
assert(Result.getValueType() == NewVT);
break;
case ISD::BIT_CONVERT:
Result = DAG.getNode(ISD::BIT_CONVERT, NewVT, Op.getOperand(0));
Result = DAG.getNode(ISD::BIT_CONVERT, NewVT,
ScalarizeVectorOp(Op.getOperand(0)));
break;
case ISD::SELECT:
Result = DAG.getNode(ISD::SELECT, NewVT, Op.getOperand(0),