[all-commits] [llvm/llvm-project] 3573a9: [PM] Show the pass argument in pre/post-pass IR dumps
Nicolas Guillemot via All-commits
all-commits at lists.llvm.org
Thu Feb 25 14:02:18 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3573a90b8aec082b8d7a1e2fc35f7103a0df7cb6
https://github.com/llvm/llvm-project/commit/3573a90b8aec082b8d7a1e2fc35f7103a0df7cb6
Author: Nicolas Guillemot <nguillemot at apple.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M clang/test/Misc/pr32207.c
M llvm/lib/IR/LegacyPassManager.cpp
M llvm/test/CodeGen/SystemZ/frame-26.mir
M llvm/test/Transforms/Inline/null-function.ll
Log Message:
-----------
[PM] Show the pass argument in pre/post-pass IR dumps
This patch adds each pass' pass argument in the header for IR dumps.
For example:
Before:
```
*** IR Dump Before InstructionSelect ***
```
After:
```
*** IR Dump Before InstructionSelect (instruction-select) ***
```
The goal is to make it easier to know what argument to pass to
command line options like `debug-only` or `run-pass` to further
investigate a given pass.
More information about the All-commits
mailing list