forked from OSchip/llvm-project
Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.
llvm-svn: 108450
This commit is contained in:
parent
51a9c0a1b3
commit
dd5e9d8faf
|
@ -130,7 +130,7 @@ namespace {
|
||||||
|
|
||||||
/// KillIndices - The index of the most recent kill (proceding bottom-up),
|
/// KillIndices - The index of the most recent kill (proceding bottom-up),
|
||||||
/// or ~0u if the register is not live.
|
/// or ~0u if the register is not live.
|
||||||
unsigned KillIndices[TargetRegisterInfo::FirstVirtualRegister];
|
std::vector<unsigned> KillIndices;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SchedulePostRATDList(MachineFunction &MF,
|
SchedulePostRATDList(MachineFunction &MF,
|
||||||
|
@ -140,7 +140,8 @@ namespace {
|
||||||
AntiDepBreaker *ADB,
|
AntiDepBreaker *ADB,
|
||||||
AliasAnalysis *aa)
|
AliasAnalysis *aa)
|
||||||
: ScheduleDAGInstrs(MF, MLI, MDT), Topo(SUnits),
|
: ScheduleDAGInstrs(MF, MLI, MDT), Topo(SUnits),
|
||||||
HazardRec(HR), AntiDepBreak(ADB), AA(aa) {}
|
HazardRec(HR), AntiDepBreak(ADB), AA(aa),
|
||||||
|
KillIndices(TRI->getNumRegs()) {}
|
||||||
|
|
||||||
~SchedulePostRATDList() {
|
~SchedulePostRATDList() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue