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:
f4bc9b1
)
Implement splitting of UNDEF nodes. This is the first step towards fixing PR1811
author
Chris Lattner
<sabre@nondot.org>
Mon, 19 Nov 2007 20:21:32 +0000
(20:21 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 19 Nov 2007 20:21:32 +0000
(20:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44239
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 c6b4662b2b4db0b94eadabef0f02a16efa0cb502..e343a0e5de5cc6c2336bdc80eb89d4bd2d9cf819 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-6265,6
+6265,10
@@
void SelectionDAGLegalize::SplitVectorOp(SDOperand Op, SDOperand &Lo,
Node->dump(&DAG);
#endif
assert(0 && "Unhandled operation in SplitVectorOp!");
+ case ISD::UNDEF:
+ Lo = DAG.getNode(ISD::UNDEF, NewVT_Lo);
+ Hi = DAG.getNode(ISD::UNDEF, NewVT_Hi);
+ break;
case ISD::BUILD_PAIR:
Lo = Node->getOperand(0);
Hi = Node->getOperand(1);