[all-commits] [llvm/llvm-project] 5e6d5c: [mlir] Add --list-passes option to mlir-opt (#100420)
Natan-GabrielTiutiuIntel via All-commits
all-commits at lists.llvm.org
Tue Aug 6 11:01:12 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5e6d5c01e0ec3a2bc104cba78e9fe8e58360fb6a
https://github.com/llvm/llvm-project/commit/5e6d5c01e0ec3a2bc104cba78e9fe8e58360fb6a
Author: Natan-GabrielTiutiuIntel <101411449+Natan-GabrielTiutiuIntel at users.noreply.github.com>
Date: 2024-08-06 (Tue, 06 Aug 2024)
Changed paths:
M mlir/include/mlir/Pass/PassRegistry.h
M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
M mlir/lib/Pass/PassRegistry.cpp
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
Log Message:
-----------
[mlir] Add --list-passes option to mlir-opt (#100420)
Currently, the only way to see the passes that were registered is by
calling “mlir-opt --help”. However, for compilers with 500+ passes, the
help message becomes too long and sometimes hard to understand. In this
PR I add a new "--list-passes" option to mlir-opt, which can be used for
printing only the registered passes, a feature that would be extremely
useful.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list