[mlir] Prefix pass manager options with `mlir-`
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Mon, 11 Apr 2022 11:03:29 +0000 (11:03 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Tue, 12 Apr 2022 09:32:44 +0000 (09:32 +0000)
commitfb16ed258c041b1bf3821086af309024761ebc27
treefeb79f3fda05edfde7cadaf3a0f2ef26cd31e6cf
parentfa087b43529cfac223432cc5545923fb9c6544af
[mlir] Prefix pass manager options with `mlir-`

With this change, there's going to be a clear distinction between LLVM
and MLIR pass maanger options (e.g. `-mlir-print-after-all` vs
`-print-after-all`). This change is desirable from the point of view of
projects that depend on both LLVM and MLIR, e.g. Flang.

For consistency, all pass manager options in MLIR are prefixed with
`mlir-`, even options that don't have equivalents in LLVM .

Differential Revision: https://reviews.llvm.org/D123495
13 files changed:
mlir/docs/PassManagement.md
mlir/docs/Tutorials/Toy/Ch-6.md
mlir/include/mlir-c/IR.h
mlir/include/mlir-c/Pass.h
mlir/lib/Bindings/Python/Pass.cpp
mlir/lib/Pass/PassManagerOptions.cpp
mlir/test/Pass/crash-recovery-dynamic-failure.mlir
mlir/test/Pass/crash-recovery.mlir
mlir/test/Pass/dynamic-pipeline-nested.mlir
mlir/test/Pass/dynamic-pipeline.mlir
mlir/test/Pass/ir-printing.mlir
mlir/test/Pass/pipeline-stats.mlir
mlir/test/Pass/run-reproducer.mlir