We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b383efc commit a85c725Copy full SHA for a85c725
llvm/lib/Transforms/Utils/LoopUtils.cpp
@@ -815,14 +815,11 @@ struct DbgLoop {
815
const Loop *L;
816
explicit DbgLoop(const Loop *L) : L(L) {}
817
};
818
-
819
-#ifndef NDEBUG
820
static inline raw_ostream &operator<<(raw_ostream &OS, DbgLoop D) {
821
OS << "function ";
822
D.L->getHeader()->getParent()->printAsOperand(OS, /*PrintType=*/false);
823
return OS << " " << *D.L;
824
}
825
-#endif // NDEBUG
826
827
static std::optional<unsigned> estimateLoopTripCount(Loop *L) {
828
// Currently we take the estimate exit count only from the loop latch,
0 commit comments