mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Fix PR988 and CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll.
The low part goes in the first operand of expandop, not the second one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2039,7 +2039,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
|||||||
case Expand: {
|
case Expand: {
|
||||||
// Length is too big, just take the lo-part of the length.
|
// Length is too big, just take the lo-part of the length.
|
||||||
SDOperand HiPart;
|
SDOperand HiPart;
|
||||||
ExpandOp(Node->getOperand(3), HiPart, Tmp4);
|
ExpandOp(Node->getOperand(3), Tmp4, HiPart);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Legal:
|
case Legal:
|
||||||
|
Reference in New Issue
Block a user