[all-commits] [llvm/llvm-project] cad61e: [mlir-opt] Add a '-dump-pass-pipeline' option

rk via All-commits all-commits at lists.llvm.org
Thu Oct 20 16:20:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cad61e49b28b6cccf26bfb2da0dcbe06cceb72d6
      https://github.com/llvm/llvm-project/commit/cad61e49b28b6cccf26bfb2da0dcbe06cceb72d6
  Author: rkayaith <rkayaith at gmail.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
    M mlir/lib/Pass/Pass.cpp
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/test/Pass/pipeline-options-parsing.mlir
    M mlir/test/lib/Pass/TestPassManager.cpp

  Log Message:
  -----------
  [mlir-opt] Add a '-dump-pass-pipeline' option

Add an option to dump the pipeline that will be run to stderr. A
dedicated option is needed since the existing `test-dump-pipeline`
pipeline won't be usable with `-pass-pipeline` after D135745.

Reviewed By: rriddle, mehdi_amini

Differential Revision: https://reviews.llvm.org/D135747




More information about the All-commits mailing list