[llvm] [StandardInstrumentation] Annotate loops with the function name (PR #90756)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 17:34:05 PDT 2024
nikic wrote:
> makes sense to me, although bikeshedding a bit, I'd prefer `Running pass: SimpleLoopUnswitchPass on loop %loop_begin in function test6`
+1
> I like the idea of making the loop easier to identify. Have you considered demangling the function name also, or is that already handled in getName()? However, that may make filtering difficult... what about printing both the mangled and demangled name if it is different?
I would not find demangling helpful here -- if I'm looking at debug logs, I want to line them up with IR, not with source.
https://github.com/llvm/llvm-project/pull/90756
More information about the llvm-commits
mailing list