mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-10 14:10:58 +00:00
Add support to SplitVectorOp for powi, where the second operand
is a scalar integer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f0d0089340
commit
9e04c82c0e
@ -6335,6 +6335,12 @@ SDOperand SelectionDAGLegalize::ScalarizeVectorOp(SDOperand Op) {
|
||||
NewVT,
|
||||
ScalarizeVectorOp(Node->getOperand(0)));
|
||||
break;
|
||||
case ISD::FPOWI:
|
||||
Result = DAG.getNode(Node->getOpcode(),
|
||||
NewVT,
|
||||
ScalarizeVectorOp(Node->getOperand(0)),
|
||||
Node->getOperand(1));
|
||||
break;
|
||||
case ISD::LOAD: {
|
||||
LoadSDNode *LD = cast<LoadSDNode>(Node);
|
||||
SDOperand Ch = LegalizeOp(LD->getChain()); // Legalize the chain.
|
||||
|
Loading…
Reference in New Issue
Block a user