LoopAccessAnalysis - fix uninitialized variable warnings. NFCI.
This commit is contained in:
parent
c447e5d90e
commit
216dab9152
|
@ -175,8 +175,8 @@ public:
|
|||
};
|
||||
|
||||
MemoryDepChecker(PredicatedScalarEvolution &PSE, const Loop *L)
|
||||
: PSE(PSE), InnermostLoop(L), AccessIdx(0), MaxSafeRegisterWidth(-1U),
|
||||
FoundNonConstantDistanceDependence(false),
|
||||
: PSE(PSE), InnermostLoop(L), AccessIdx(0), MaxSafeDepDistBytes(0),
|
||||
MaxSafeRegisterWidth(-1U), FoundNonConstantDistanceDependence(false),
|
||||
Status(VectorizationSafetyStatus::Safe), RecordDependences(true) {}
|
||||
|
||||
/// Register the location (instructions are given increasing numbers)
|
||||
|
@ -750,11 +750,11 @@ private:
|
|||
DenseMap<Loop *, std::unique_ptr<LoopAccessInfo>> LoopAccessInfoMap;
|
||||
|
||||
// The used analysis passes.
|
||||
ScalarEvolution *SE;
|
||||
const TargetLibraryInfo *TLI;
|
||||
AliasAnalysis *AA;
|
||||
DominatorTree *DT;
|
||||
LoopInfo *LI;
|
||||
ScalarEvolution *SE = nullptr;
|
||||
const TargetLibraryInfo *TLI = nullptr;
|
||||
AliasAnalysis *AA = nullptr;
|
||||
DominatorTree *DT = nullptr;
|
||||
LoopInfo *LI = nullptr;
|
||||
};
|
||||
|
||||
/// This analysis provides dependence information for the memory
|
||||
|
|
Loading…
Reference in New Issue