mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-22 10:36:10 +00:00
Fix handling of calls in functions that use vectors. This fixes a crash on
the code in GCC PR26546. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5edb8d270c
commit
80edfb3af5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user