mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Correctly resize the Parts array.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9242cb8b82
commit
c748ffa4e4
@ -4014,7 +4014,7 @@ SDValue RegsForValue::getCopyFromRegs(SelectionDAG &DAG,
|
||||
unsigned NumRegs = TLI->getNumRegisters(ValueVT);
|
||||
MVT RegisterVT = RegVTs[Value];
|
||||
|
||||
Parts.resize(NumRegs);
|
||||
Parts.resize(Part + NumRegs);
|
||||
for (unsigned i = 0; i != NumRegs; ++i) {
|
||||
SDValue P;
|
||||
if (Flag == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user