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

something with a v1 type.

llvm-svn: 51160
This commit is contained in:
Nate Begeman 2008-05-15 20:40:58 +00:00
parent 30deeca433
commit f79f52282c
1 changed files with 2 additions and 1 deletions

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),