mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Do the same for allocating spills to get their alignment right too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
00521d79bf
commit
e85f2332db
@ -1036,7 +1036,8 @@ void PhyRegAlloc::allocateStackSpace4SpilledLRs()
|
||||
LiveRange *L = (*HMI).second; // get the LiveRange
|
||||
if(L)
|
||||
if( ! L->hasColor() )
|
||||
L->setSpillOffFromFP(mcInfo.allocateSpilledValue(TM,L->getType()));
|
||||
/**** NOTE: THIS SHOULD USE THE RIGHT SIZE FOR THE REG BEING PUSHED ****/
|
||||
L->setSpillOffFromFP(mcInfo.allocateSpilledValue(TM, Type::LongTy /*L->getType()*/ ));
|
||||
}
|
||||
} // for all LR's in hash map
|
||||
}
|
||||
|
@ -1036,7 +1036,8 @@ void PhyRegAlloc::allocateStackSpace4SpilledLRs()
|
||||
LiveRange *L = (*HMI).second; // get the LiveRange
|
||||
if(L)
|
||||
if( ! L->hasColor() )
|
||||
L->setSpillOffFromFP(mcInfo.allocateSpilledValue(TM,L->getType()));
|
||||
/**** NOTE: THIS SHOULD USE THE RIGHT SIZE FOR THE REG BEING PUSHED ****/
|
||||
L->setSpillOffFromFP(mcInfo.allocateSpilledValue(TM, Type::LongTy /*L->getType()*/ ));
|
||||
}
|
||||
} // for all LR's in hash map
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user