diff options
| author | Kazu Hirata <kazu@google.com> | 2022-01-01 16:18:18 -0800 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-01-01 16:18:18 -0800 |
| commit | fd4808887ee47f3ec8a030e9211169ef4fb094c3 (patch) | |
| tree | 73657b469ae10e1950dc3af57464fef9ac52a3b3 /llvm/lib/Analysis/LoopCacheAnalysis.cpp | |
| parent | 104a827ea6de0cbe0f5faef4407552ede31d165c (diff) | |
[llvm] Remove redundant member initialization (NFC)
Identified with readability-redundant-member-init.
Diffstat (limited to 'llvm/lib/Analysis/LoopCacheAnalysis.cpp')
| -rw-r--r-- | llvm/lib/Analysis/LoopCacheAnalysis.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/LoopCacheAnalysis.cpp b/llvm/lib/Analysis/LoopCacheAnalysis.cpp index 7b895d8a5dc2..ba014bd08c98 100644 --- a/llvm/lib/Analysis/LoopCacheAnalysis.cpp +++ b/llvm/lib/Analysis/LoopCacheAnalysis.cpp @@ -477,9 +477,8 @@ raw_ostream &llvm::operator<<(raw_ostream &OS, const CacheCost &CC) { CacheCost::CacheCost(const LoopVectorTy &Loops, const LoopInfo &LI, ScalarEvolution &SE, TargetTransformInfo &TTI, - AAResults &AA, DependenceInfo &DI, - Optional<unsigned> TRT) - : Loops(Loops), TripCounts(), LoopCosts(), + AAResults &AA, DependenceInfo &DI, Optional<unsigned> TRT) + : Loops(Loops), TRT((TRT == None) ? Optional<unsigned>(TemporalReuseThreshold) : TRT), LI(LI), SE(SE), TTI(TTI), AA(AA), DI(DI) { assert(!Loops.empty() && "Expecting a non-empty loop vector."); |
