mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 00:25:01 +00:00
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
1a31342bae
commit
b38ee2e03b
@ -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
Block a user