summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-28 05:53:40 +0000
committerChris Lattner <sabre@nondot.org>2008-02-28 05:53:40 +0000
commit9824ffef0c6047da5214c9d76a28abd185b8f71e (patch)
treec5f7c14a02f2f325a0483bb05aede506863a6112 /llvm/lib
parentf1444c35e8337f5540827e67b14cc44331cc19fb (diff)
downloadbcm5719-llvm-9824ffef0c6047da5214c9d76a28abd185b8f71e.tar.gz
bcm5719-llvm-9824ffef0c6047da5214c9d76a28abd185b8f71e.zip
implement expand for ISD::DECLARE by just deleting it.
llvm-svn: 47708
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index ff4ddf373f1..e0069b553fb 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1111,6 +1111,9 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
Tmp3 = LegalizeOp(Node->getOperand(2)); // Legalize the variable.
Result = DAG.UpdateNodeOperands(Result, Tmp1, Tmp2, Tmp3);
break;
+ case TargetLowering::Expand:
+ Result = LegalizeOp(Node->getOperand(0));
+ break;
}
break;
OpenPOWER on IntegriCloud