[all-commits] [llvm/llvm-project] b15ccd: [mlir] Better Python diagnostics (#128581)

Nikhil Kalra via All-commits all-commits at lists.llvm.org
Mon Mar 10 16:00:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b15ccd436aef320802635984f336fcfe5b69ff0b
      https://github.com/llvm/llvm-project/commit/b15ccd436aef320802635984f336fcfe5b69ff0b
  Author: Nikhil Kalra <nkalra at apple.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Bindings/Python/Diagnostics.h
    M mlir/test/python/ir/diagnostic_handler.py
    M mlir/test/python/lib/PythonTestCAPI.cpp
    M mlir/test/python/lib/PythonTestCAPI.h
    M mlir/test/python/lib/PythonTestModuleNanobind.cpp

  Log Message:
  -----------
  [mlir] Better Python diagnostics (#128581)

Updated the Python diagnostics handler to emit notes (in addition to
errors) into the output stream so that users have more context as to
where in the IR the error is occurring.



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