forked from OSchip/llvm-project
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:
parent
30deeca433
commit
f79f52282c
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue