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:
5edb8d2
)
Fix handling of calls in functions that use vectors. This fixes a crash on
author
Chris Lattner
<sabre@nondot.org>
Mon, 17 Apr 2006 22:10:08 +0000
(22:10 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 17 Apr 2006 22:10:08 +0000
(22:10 +0000)
the code in GCC PR26546.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27780
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 30044471d44289d983a21fb5c69db03d0ccef1b5..b9f50ddbe1c8ce0ca07eeaebe4aad8bfa799a538 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-433,19
+433,7
@@
bool SelectionDAGLegalize::LegalizeAllNodesNotLeadingTo(SDNode *N,
if (OperandsLeadToDest) return true;
// Okay, this node looks safe, legalize it and return false.
- switch (getTypeAction(N->getValueType(0))) {
- case Legal:
- LegalizeOp(SDOperand(N, 0));
- break;
- case Promote:
- PromoteOp(SDOperand(N, 0));
- break;
- case Expand: {
- SDOperand X, Y;
- ExpandOp(SDOperand(N, 0), X, Y);
- break;
- }
- }
+ HandleOp(SDOperand(N, 0));
return false;
}