[llvm] Add option to print entire function instead of just the loops for loo… (PR #123229)
Justin Fargnoli via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 16 14:45:35 PST 2025
================
@@ -999,6 +999,18 @@ void llvm::printLoop(Loop &L, raw_ostream &OS, const std::string &Banner) {
return;
}
+ if (forcePrintFuncIR()) {
----------------
justinfargnoli wrote:
```suggestion
if (forcePrintModuleIR() || forcePrintFuncIR()) {
```
I'm unsure as to what semantics we would want here. In your experience, is it helpful to have the module printed out followed by the function?
https://github.com/llvm/llvm-project/pull/123229
More information about the llvm-commits
mailing list