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:
a4b5215
)
implement expand for ISD::DECLARE by just deleting it.
author
Chris Lattner
<sabre@nondot.org>
Thu, 28 Feb 2008 05:53:40 +0000
(
05:53
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 28 Feb 2008 05:53:40 +0000
(
05:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47708
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 ff4ddf373f103bac8d68d9cf169dbf03586a6251..e0069b553fbac26aaf19708ad3f566c294b1c032 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
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;