)]}'
{
  "commit": "acde3f722ff3766f6f793884108d342b78623fe4",
  "tree": "61d63b9df44ccf448952791363d8a869cb8df651",
  "parents": [
    "77c780d64b950d6850d5ec1ee06cd0c21b38b89e"
  ],
  "author": {
    "name": "Peter Hawkins",
    "email": "phawkins@google.com",
    "time": "Fri Jan 24 09:26:28 2025 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Jan 24 06:26:28 2025 -0800"
  },
  "message": "[mlir:python] Compute get_op_result_or_value in PyOpView\u0027s constructor. (#123953)\n\nThis logic is in the critical path for constructing an operation from\r\nPython. It is faster to compute this in C++ than it is in Python, and it\r\nis a minor change to do this.\r\n\r\nThis change also alters the API contract of\r\n_ods_common.get_op_results_or_values to avoid calling\r\nget_op_result_or_value on each element of a sequence, since the C++ code\r\nwill now do this.\r\n\r\nMost of the diff here is simply reordering the code in IRCore.cpp.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "738f1444b15fe567eaae31b3c8de492ddbddcde7",
      "old_mode": 33188,
      "old_path": "mlir/lib/Bindings/Python/IRCore.cpp",
      "new_id": "8e351cb22eb9489e689acbcc21d6ff9ab0e2f11b",
      "new_mode": 33188,
      "new_path": "mlir/lib/Bindings/Python/IRCore.cpp"
    },
    {
      "type": "modify",
      "old_id": "fd70ac7ac6ec39240d29ed620bb9579259cf0995",
      "old_mode": 33188,
      "old_path": "mlir/lib/Bindings/Python/IRModule.h",
      "new_id": "dd6e7ef9123746b1e43457127d4543ea27fb9b2b",
      "new_mode": 33188,
      "new_path": "mlir/lib/Bindings/Python/IRModule.h"
    },
    {
      "type": "modify",
      "old_id": "5b67ab03d6f4949e196c3b4916fb4b588a854982",
      "old_mode": 33188,
      "old_path": "mlir/python/mlir/dialects/_ods_common.py",
      "new_id": "d3dbdc604ef4c67487feac16d50e2af6d63c4b70",
      "new_mode": 33188,
      "new_path": "mlir/python/mlir/dialects/_ods_common.py"
    },
    {
      "type": "modify",
      "old_id": "25833779c2f71f3dfd8b06ea15ded1ee608337c1",
      "old_mode": 33188,
      "old_path": "mlir/test/mlir-tblgen/op-python-bindings.td",
      "new_id": "72963cac64d54a96ebf7f0a314b693e6fd12e7eb",
      "new_mode": 33188,
      "new_path": "mlir/test/mlir-tblgen/op-python-bindings.td"
    },
    {
      "type": "modify",
      "old_id": "e1540d1750ff19cddbd21135962543852e97eff2",
      "old_mode": 33188,
      "old_path": "mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp",
      "new_id": "604d2376052a86f80eb986ba7a37ea482758dc73",
      "new_mode": 33188,
      "new_path": "mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp"
    }
  ]
}
