[llvm] [LegacyPM] Print banner with newline when filter-print-funcs is given. (PR #153699)

Tyler Lanphear via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 15:12:02 PDT 2025


tylanphear wrote:

For those of us still suffering on the legacy PM for one reason or another, I hope this will help fix with a weird edge case in `-print-after-all`.

I wanted to add a test for this, but I couldn't see an easy way to add to `llvm/test/Other/scc-pass-printer.ll` since that uses `opt` which uses the new PM. Maybe there's a way to do it with `llc`? Open to suggestion, but I figure since this is for the legacy PM, we might not be too worried about testing it.

https://github.com/llvm/llvm-project/pull/153699


More information about the llvm-commits mailing list