[all-commits] [llvm/llvm-project] 66645a: [mlir][python] Include anchor op in PassManager.parse

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66645a03fc8a36b5052113f1466e8baf01137623
      https://github.com/llvm/llvm-project/commit/66645a03fc8a36b5052113f1466e8baf01137623
  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/Integration/Dialect/SparseTensor/python/tools/sparse_compiler.py
    M mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_sparse_compiler.py
    M mlir/test/python/dialects/async_dialect.py
    M mlir/test/python/dialects/gpu.py
    M mlir/test/python/dialects/sparse_tensor/passes.py
    M mlir/test/python/execution_engine.py
    M mlir/test/python/integration/dialects/linalg/opsrun.py
    M mlir/test/python/pass_manager.py

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

The pipeline string must now include the pass manager's anchor op. This
makes the parse API properly roundtrip the printed form of a pass
manager.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list