diff options
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUtils.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUtils.cpp b/llvm/lib/Transforms/Utils/LoopUtils.cpp index 6327b92..9043baa 100644 --- a/llvm/lib/Transforms/Utils/LoopUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopUtils.cpp @@ -815,14 +815,11 @@ struct DbgLoop { const Loop *L; explicit DbgLoop(const Loop *L) : L(L) {} }; - -#ifndef NDEBUG static inline raw_ostream &operator<<(raw_ostream &OS, DbgLoop D) { OS << "function "; D.L->getHeader()->getParent()->printAsOperand(OS, /*PrintType=*/false); return OS << " " << *D.L; } -#endif // NDEBUG static std::optional<unsigned> estimateLoopTripCount(Loop *L) { // Currently we take the estimate exit count only from the loop latch, |