[all-commits] [llvm/llvm-project] d97e8c: [mlir][python] Include anchor op in PassManager co...

rk via All-commits all-commits at lists.llvm.org
Thu Nov 3 08:52:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d97e8cd48239ba6f3e50f92b152e661656ea009d
      https://github.com/llvm/llvm-project/commit/d97e8cd48239ba6f3e50f92b152e661656ea009d
  Author: rkayaith <rkayaith at gmail.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M mlir/lib/Bindings/Python/Pass.cpp
    M mlir/test/python/pass_manager.py

  Log Message:
  -----------
  [mlir][python] Include anchor op in PassManager constructor

This adds an extra argument for specifying the pass manager's anchor op,
with a default of `any`. Previously the anchor was always defaulted to
`builtin.module`.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list