)]}'
{
  "commit": "a7bac5d9f5fab902d906f941a0f1002a809d3f35",
  "tree": "dc206fbef96059c5a921573a5373d67d54dac5c2",
  "parents": [
    "9055c9d1f6342a061a6747ef9b385816b96a0a8f"
  ],
  "author": {
    "name": "Quinn Dawkins",
    "email": "quinn.dawkins@gmail.com",
    "time": "Thu Jan 09 12:21:39 2025 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jan 09 09:21:39 2025 -0800"
  },
  "message": "[Flow] Fix dispatch naming for dynamic shaped fusions (#19439)\n\nCurrently all ops with dynamic shapes are assigned the same estimated\r\ncost when naming dispatches. This means that in cases like fused\r\nelementwise ops with matmuls, the elementwise and matmuls are assigned\r\nthe same priority and because of traversal order, the dispatch ends up\r\nfollowing the name of the elementwise op.\r\n\r\nThis patch hacks it by treating all dynamic shapes as moderately sized\r\nstatic shapes, but in the future if we have more issues we can look at\r\nadding some tensor size range analysis that can give us upper bounds for\r\nthe dynamic shapes.\r\n\r\n---------\r\n\r\nSigned-off-by: Ian Wood \u003cianwood2024@u.northwestern.edu\u003e\r\nCo-authored-by: Ian Wood \u003cianwood2024@u.northwestern.edu\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e71f856634c6e1351fe549f88170ee7094004a25",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Flow/Transforms/AnnotateDispatches.cpp",
      "new_id": "ad93878b83d24411f4d45400f0fcc28a48dda92d",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Flow/Transforms/AnnotateDispatches.cpp"
    },
    {
      "type": "modify",
      "old_id": "77aebcca436ce3ec598faaad3e45569bdbcc668b",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Flow/Transforms/test/annotate_dispatches.mlir",
      "new_id": "c795817b0e7531e1401e857e1c73f26b4fd2ed58",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Flow/Transforms/test/annotate_dispatches.mlir"
    }
  ]
}
