)]}'
{
  "commit": "0f3e460e06e03ce37445546457a16d6f1eee1e21",
  "tree": "e9bf2ebb992bb23a8264374d997598b18098b2ce",
  "parents": [
    "ddb12674300eb1af5e6945b5447e7bff7cff4cd8"
  ],
  "author": {
    "name": "MaheshRavishankar",
    "email": "1663364+MaheshRavishankar@users.noreply.github.com",
    "time": "Tue Apr 15 14:10:18 2025 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Apr 15 14:10:18 2025 -0700"
  },
  "message": "[mlir][Tensor] Generalize the pattern to swap `tensor.collapse_shape` -\u003e `tensor.expand_shape`. (#133819)\n\nThe current patterns compared the reassocation indices for the two ops\nand failed if neither of them were of size 1. This patch relaxes this\nrestriction by handling a new case where the reassociation indices might\nbe of the same size.\n\nAlso generalizes to cases where when generating the swapped\n`tensor.expand_shape` -\u003e `tensor.collapse_shape` if one of them is\ndegenerate, those are not generated.\n\nSigned-off-by: MaheshRavishankar \u003cmahesh.ravishankar@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eed44e60d6591858cceca875c4d56881ca4a1fb8",
      "old_mode": 33188,
      "old_path": "mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp",
      "new_id": "a3de7f9b44ae66d77f1e1dc24f99262057f89484",
      "new_mode": 33188,
      "new_path": "mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp"
    },
    {
      "type": "modify",
      "old_id": "eeed794884942236870275b99c5e989ff566d9d7",
      "old_mode": 33188,
      "old_path": "mlir/test/Dialect/Tensor/bubble-reshapes.mlir",
      "new_id": "81bf8e3f60e2c11afd38cca098924ce96516c86e",
      "new_mode": 33188,
      "new_path": "mlir/test/Dialect/Tensor/bubble-reshapes.mlir"
    }
  ]
}
