)]}'
{
  "commit": "5dfb7bbaa4fc0c6f4bb7b8fb38fecade39fb8a02",
  "tree": "ff71cc646ba287a354e808cefb5da48d04d7117b",
  "parents": [
    "7119a0f39b64c9451dc2122dd028104068588780"
  ],
  "author": {
    "name": "Andrzej Warzyński",
    "email": "andrzej.warzynski@arm.com",
    "time": "Sun Jun 08 12:36:51 2025 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Jun 08 12:36:51 2025 +0100"
  },
  "message": "[mlir][linalg] Simplify `createWriteOrMaskedWrite` (NFC) (#141567)\n\nThis patch removes `inputVecSizesForLeadingDims` from the parameter list\nof `createWriteOrMaskedWrite`. That argument is unnecessary - vector\nsizes can be obtained from the `vecToStore` parameter. Since this doesn\u0027t\nchange behavior or test results, it\u0027s marked as NFC.\n\nAdditional cleanups:\n  * Renamed `vectorToStore` to `vecToStore` for consistency and brevity.\n  * Rewrote a conditional at the end of the function to use early exit,\n    improving readability:\n\n```cpp\n  // BEFORE:\n  if (maskingRequried) {\n    Value maskForWrite \u003d ...;\n    write \u003d maskOperation(write, maskForWrite);\n  }\n  return write;\n\n  // AFTER\n  if (!maskingRequried)\n    return write;\n\n  Value maskFroWrite \u003d ...;\n  return vector::maskOperation(builder, write, maskForWrite);\n```",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8c2db12cf747040fed8e2bb095dfa5ecd52a3ea2",
      "old_mode": 33188,
      "old_path": "mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp",
      "new_id": "ff28bd7c483429384d71b492b407aa42e86e08fb",
      "new_mode": 33188,
      "new_path": "mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp"
    }
  ]
}
