mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-28 00:50:37 +00:00
Don't record instructions for copying method arguments in the
AddedInstrns sets for the first machine instruction. It is hard to ensure that the right order is preserved, and sure enough, the order was broken. Instead, use a separate set for the function entry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2318 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0bc0516078
commit
d23a229c4c
@ -78,6 +78,7 @@ class PhyRegAlloc: public NonCopyable {
|
||||
|
||||
|
||||
AddedInstrMapType AddedInstrMap; // to store instrns added in this phase
|
||||
AddedInstrns AddedInstrAtEntry; // to store instrns added at entry
|
||||
cfg::LoopInfo *LoopDepthCalc; // to calculate loop depths
|
||||
ReservedColorListType ResColList; // A set of reserved regs if desired.
|
||||
// currently not used
|
||||
|
@ -78,6 +78,7 @@ class PhyRegAlloc: public NonCopyable {
|
||||
|
||||
|
||||
AddedInstrMapType AddedInstrMap; // to store instrns added in this phase
|
||||
AddedInstrns AddedInstrAtEntry; // to store instrns added at entry
|
||||
cfg::LoopInfo *LoopDepthCalc; // to calculate loop depths
|
||||
ReservedColorListType ResColList; // A set of reserved regs if desired.
|
||||
// currently not used
|
||||
|
Loading…
x
Reference in New Issue
Block a user