[mlir-opt] Add '-p' as an alias for '-pass-pipeline'
authorrkayaith <rkayaith@gmail.com>
Thu, 3 Nov 2022 18:29:44 +0000 (14:29 -0400)
committerrkayaith <rkayaith@gmail.com>
Tue, 8 Nov 2022 20:17:27 +0000 (15:17 -0500)
commit40e7741d2db089b9e43b3537163a8675ff74de70
tree5c56d643c2f1580fd6658d9547e62200a5389ece
parente4889c0a046e251bfaf27a637df606112659be89
[mlir-opt] Add '-p' as an alias for '-pass-pipeline'

The pipeline strings have been getting more verbose over time, adding an
alias for the option should help improve the ergonomics a bit.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D137347
mlir/include/mlir/Pass/PassRegistry.h
mlir/lib/Pass/PassRegistry.cpp
mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
mlir/test/mlir-opt/commandline.mlir