Fix uninitialized variable warnings. NFCI.
This commit is contained in:
parent
e81b201d1b
commit
604cbd6b12
|
@ -1009,7 +1009,7 @@ protected:
|
||||||
/// initPolicy -> initialize(DAG) -> registerRoots -> pickNode ...
|
/// initPolicy -> initialize(DAG) -> registerRoots -> pickNode ...
|
||||||
class PostGenericScheduler : public GenericSchedulerBase {
|
class PostGenericScheduler : public GenericSchedulerBase {
|
||||||
protected:
|
protected:
|
||||||
ScheduleDAGMI *DAG;
|
ScheduleDAGMI *DAG = nullptr;
|
||||||
SchedBoundary Top;
|
SchedBoundary Top;
|
||||||
SmallVector<SUnit*, 8> BotRoots;
|
SmallVector<SUnit*, 8> BotRoots;
|
||||||
|
|
||||||
|
|
|
@ -37,8 +37,12 @@ class TargetSchedModel {
|
||||||
const TargetInstrInfo *TII = nullptr;
|
const TargetInstrInfo *TII = nullptr;
|
||||||
|
|
||||||
SmallVector<unsigned, 16> ResourceFactors;
|
SmallVector<unsigned, 16> ResourceFactors;
|
||||||
unsigned MicroOpFactor; // Multiply to normalize microops to resource units.
|
|
||||||
unsigned ResourceLCM; // Resource units per cycle. Latency normalization factor.
|
// Multiply to normalize microops to resource units.
|
||||||
|
unsigned MicroOpFactor = 0;
|
||||||
|
|
||||||
|
// Resource units per cycle. Latency normalization factor.
|
||||||
|
unsigned ResourceLCM = 0;
|
||||||
|
|
||||||
unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
|
unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue