[PATCH] D96101: [opt][NewPM] Add a --print-passes flag to print all available passes
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 10 11:21:05 PST 2021
aeubanks added inline comments.
================
Comment at: llvm/test/Other/print-passes.ll:6
+; CHECK: Module analyses:
+; CHECK: no-op-module
+; CHECK: Module alias analyses:
----------------
bjope wrote:
> Should analysis passes perhaps be printed as require<name>?
Technically `require<foo>` is a pass that just runs `foo`, so that's separate. I added in the `--help` for `-passes` that you can specify `require<foo>`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96101/new/
https://reviews.llvm.org/D96101
More information about the llvm-commits
mailing list