[all-commits] [llvm/llvm-project] d8d1d4: [MLIR] Rerun control for actions in execution cont...

Kigyosi Alexandru via All-commits all-commits at lists.llvm.org
Tue Jul 21 02:53:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8d1d444a2a69293292f10f19691da05207630f7
      https://github.com/llvm/llvm-project/commit/d8d1d444a2a69293292f10f19691da05207630f7
  Author: Kigyosi Alexandru <alexandru.kigyosi at intel.com>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:
    M mlir/include/mlir/Debug/ExecutionContext.h
    M mlir/lib/Debug/ExecutionContext.cpp
    M mlir/unittests/Debug/ExecutionContextTest.cpp

  Log Message:
  -----------
  [MLIR] Rerun control for actions in execution context (#209197)

Adds a Rerun control value to ExecutionContext::Control that allows the
re-execution of the current action immediately after it completes,
without restarting the full compilation pipeline. This is analogous to
GDB's ability to restart execution from a breakpoint. When the callback
returns Rerun, the action is executed normally, then re-dispatched
through the full ExecutionContext::operator() pipeline, including
breakpoint matching, so the user gets a fresh opportunity to inspect or
control the re-execution. As a practical usage example, a breakpoint +
an observer can be added, to save and restore IR between runs to check
if each run produces the same IR or something different each time. A
depth-keyed structure is used, so rerun requests survive nested action
dispatch and are consumed by the correct stack frame.



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