llvm.org GIT mirror llvm / 0b680d2
[LoopFusion] Fix -Wunused-function in -DLLVM_ENABLE_ASSERTIONS=off build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369836 91177308-0d34-0410-b5e6-96231b3b80d8 Fangrui Song 23 days ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
353353 using FusionCandidateSet = std::set;
354354 using FusionCandidateCollection = SmallVector;
355355
356 inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
356 #if !defined(NDEBUG)
357 static llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
357358 const FusionCandidateSet &CandSet) {
358 for (auto IT : CandSet)
359 OS << IT << "\n";
359 for (const FusionCandidate &FC : CandSet)
360 OS << FC << '\n';
360361
361362 return OS;
362363 }
363364
364 #if !defined(NDEBUG)
365365 static void
366366 printFusionCandidates(const FusionCandidateCollection &FusionCandidates) {
367367 dbgs() << "Fusion Candidates: \n";