summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-06-19 22:01:11 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-06-19 22:01:11 +0000
commitbe0429c5585dbe874393c63c1efc142bcbcf6bc7 (patch)
tree42f2205dad38e1100113090630d4880ee554ef06 /llvm/lib
parentd7667bd8e051707653d9bc932a5c72d008fb2f94 (diff)
downloadbcm5719-llvm-be0429c5585dbe874393c63c1efc142bcbcf6bc7.tar.gz
bcm5719-llvm-be0429c5585dbe874393c63c1efc142bcbcf6bc7.zip
ISD::UNDEF should be expanded recursively / iteratively.
llvm-svn: 52508
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 87bb1dbf142..883ba38ca34 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -5832,7 +5832,6 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
Lo = ExpandEXTRACT_VECTOR_ELT(Op);
return ExpandOp(Lo, Lo, Hi);
case ISD::UNDEF:
- NVT = TLI.getTypeToExpandTo(VT);
Lo = DAG.getNode(ISD::UNDEF, NVT);
Hi = DAG.getNode(ISD::UNDEF, NVT);
break;
OpenPOWER on IntegriCloud