[all-commits] [llvm/llvm-project] fb16ed: [mlir] Prefix pass manager options with `mlir-`

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Tue Apr 12 02:41:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb16ed258c041b1bf3821086af309024761ebc27
      https://github.com/llvm/llvm-project/commit/fb16ed258c041b1bf3821086af309024761ebc27
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M mlir/docs/PassManagement.md
    M mlir/docs/Tutorials/Toy/Ch-6.md
    M mlir/include/mlir-c/IR.h
    M mlir/include/mlir-c/Pass.h
    M mlir/lib/Bindings/Python/Pass.cpp
    M mlir/lib/Pass/PassManagerOptions.cpp
    M mlir/test/Pass/crash-recovery-dynamic-failure.mlir
    M mlir/test/Pass/crash-recovery.mlir
    M mlir/test/Pass/dynamic-pipeline-nested.mlir
    M mlir/test/Pass/dynamic-pipeline.mlir
    M mlir/test/Pass/ir-printing.mlir
    M mlir/test/Pass/pipeline-stats.mlir
    M mlir/test/Pass/run-reproducer.mlir

  Log Message:
  -----------
  [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




More information about the All-commits mailing list