[all-commits] [llvm/llvm-project] e874bb: [mlir] Include anchor op when printing pass managers

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


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

  Changed paths:
    M mlir/include/mlir/Pass/Pass.h
    M mlir/lib/Pass/Pass.cpp
    M mlir/test/CAPI/pass.c
    M mlir/test/Pass/pipeline-options-parsing.mlir
    M mlir/test/python/pass_manager.py

  Log Message:
  -----------
  [mlir] Include anchor op when printing pass managers

Previously a pipeline nested on `anchor-op` would print as just
`'pipeline'`, now it will print as `'anchor-op(pipeline)'`. This ensures
the text form includes all information needed to reconstruct the pass
manager.

Reviewed By: rriddle, mehdi_amini

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




More information about the All-commits mailing list