[all-commits] [llvm/llvm-project] d1b5eb: [mlir] Add mlir-opt-repl: interactive MLIR pass pi...

Maksim Levental via All-commits all-commits at lists.llvm.org
Sun Jun 14 15:03:32 PDT 2026


  Branch: refs/heads/users/makslevental/mlir-opt-mcp
  Home:   https://github.com/llvm/llvm-project
  Commit: d1b5eb29eaae2bfe81dabe60e1131dba0b799c01
      https://github.com/llvm/llvm-project/commit/d1b5eb29eaae2bfe81dabe60e1131dba0b799c01
  Author: makslevental <m_levental at apple.com>
  Date:   2026-06-14 (Sun, 14 Jun 2026)

  Changed paths:
    M .ci/all_requirements.txt
    M mlir/python/requirements.txt
    A mlir/test/mlir-opt-repl/conftest.py
    A mlir/test/mlir-opt-repl/lit.local.cfg
    A mlir/test/mlir-opt-repl/run-tests.test
    A mlir/test/mlir-opt-repl/test_cli_and_edge_cases.py
    A mlir/test/mlir-opt-repl/test_mcp.py
    A mlir/test/mlir-opt-repl/test_repl.py
    A mlir/tools/mlir-opt-repl/README.md
    A mlir/tools/mlir-opt-repl/pyproject.toml
    A mlir/tools/mlir-opt-repl/src/mlir_opt_repl/__init__.py
    A mlir/tools/mlir-opt-repl/src/mlir_opt_repl/__main__.py
    A mlir/tools/mlir-opt-repl/src/mlir_opt_repl/diff.py
    A mlir/tools/mlir-opt-repl/src/mlir_opt_repl/engine.py
    A mlir/tools/mlir-opt-repl/src/mlir_opt_repl/mcp.py
    A mlir/tools/mlir-opt-repl/src/mlir_opt_repl/render.py
    A mlir/tools/mlir-opt-repl/src/mlir_opt_repl/repl.py

  Log Message:
  -----------
  [mlir] Add mlir-opt-repl: interactive MLIR pass pipeline explorer and MCP server

A pip-installable Python package (mlir-opt-repl) that provides:
- An interactive terminal REPL for applying mlir-opt passes step by step,
  with history navigation, rewind, and colored unified/side-by-side diffs.
- An MCP (Model Context Protocol) server for use as a Claude Code tool,
  exposing the same functionality over JSON-RPC stdio.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list