[llvm-branch-commits] [NFC][Loop] Remove unused verbose loop debug output (PR #192830)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Apr 18 22:28:44 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-support
Author: Aiden Grossman (boomanaiden154)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/192830.diff
1 Files Affected:
- (modified) llvm/include/llvm/Support/GenericLoopInfoImpl.h (-6)
``````````diff
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>
``````````
</details>
https://github.com/llvm/llvm-project/pull/192830
More information about the llvm-branch-commits
mailing list