projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d0089
)
Add support to SplitVectorOp for powi, where the second operand
author
Dan Gohman
<gohman@apple.com>
Fri, 12 Oct 2007 14:13:46 +0000
(14:13 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 12 Oct 2007 14:13:46 +0000
(14:13 +0000)
is a scalar integer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42906
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 361c38d18f0a8633436651652bd52abeb283c129..3132d892fef3e43345cd59bd745eb986305172d4 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-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.