mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
Fix test/Regression/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22417 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92b5376154
commit
6814f1522d
@ -906,7 +906,12 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
|
||||
SDOperand Tmp4;
|
||||
switch (getTypeAction(Node->getOperand(3).getValueType())) {
|
||||
case Expand: assert(0 && "Cannot expand this yet!");
|
||||
case Expand: {
|
||||
// Length is too big, just take the lo-part of the length.
|
||||
SDOperand HiPart;
|
||||
ExpandOp(Node->getOperand(3), HiPart, Tmp4);
|
||||
break;
|
||||
}
|
||||
case Legal:
|
||||
Tmp4 = LegalizeOp(Node->getOperand(3));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user