[llvm] e93f7e5 - [NFC][Loop] Remove unused verbose loop debug output
via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 19 11:56:34 PDT 2026
Author: Aiden Grossman
Date: 2026-04-19T11:56:30-07:00
New Revision: e93f7e595cbcbc995c97942ae343a1382f921f18
URL: https://github.com/llvm/llvm-project/commit/e93f7e595cbcbc995c97942ae343a1382f921f18
DIFF: https://github.com/llvm/llvm-project/commit/e93f7e595cbcbc995c97942ae343a1382f921f18.diff
LOG: [NFC][Loop] Remove unused verbose loop debug output
This has been defined out using the preprocessor for ~14 years. Given it
doesn't look like it has gotten any use since then, just remove it to
clean the code up a bit.
Reviewers: nikic
Pull Request: https://github.com/llvm/llvm-project/pull/192830
Added:
Modified:
llvm/include/llvm/Support/GenericLoopInfoImpl.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/GenericLoopInfoImpl.h b/llvm/include/llvm/Support/GenericLoopInfoImpl.h
index 67dcfea0c9c79..c39df269dd842 100644
--- a/llvm/include/llvm/Support/GenericLoopInfoImpl.h
+++ b/llvm/include/llvm/Support/GenericLoopInfoImpl.h
@@ -686,12 +686,6 @@ template <class BlockT, class LoopT>
void LoopInfoBase<BlockT, LoopT>::print(raw_ostream &OS) const {
for (unsigned i = 0; i < TopLevelLoops.size(); ++i)
TopLevelLoops[i]->print(OS);
-#if 0
- for (DenseMap<BasicBlock*, LoopT*>::const_iterator I = BBMap.begin(),
- E = BBMap.end(); I != E; ++I)
- OS << "BB '" << I->first->getName() << "' level = "
- << I->second->getLoopDepth() << "\n";
-#endif
}
template <typename T>
More information about the llvm-commits
mailing list