)]}'
{
  "commit": "a2caa7ca4b454becbc9ab59b8d3515ab22d494cf",
  "tree": "3bd9159e974e32e0161e2d1ae37ee3ff289625a1",
  "parents": [
    "9cdd1997a0585ee6724196b5000e55d46f78547e"
  ],
  "author": {
    "name": "Han-Chung Wang",
    "email": "hanhan0912@gmail.com",
    "time": "Tue Dec 16 09:59:43 2025 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Dec 16 01:59:43 2025 +0000"
  },
  "message": "[Stream] Handle tied operand result encodings in UnifyEncodingForGlobals 3/n (#22891)\n\nWhen a dispatch has a tied operand whose encoding is being unified, the\nresult encoding must also be updated to match (verifier requirement).\nAdditionally, insert a re-encode op after the dispatch to convert the\nresult back to the original encoding for downstream users.\n\nThis is a rare case that exists primarily for correctness as a safe\nfallback. In practice, tied operands with encodings that need\nunification are uncommon.\n\nI decide to not bail out the case in the first place because it\u0027d add\nmuch more complex to the implementation, while the fallback can be easy:\njust add re-encode ops. It may result in the amount of memory footprint,\nbut it is a rare case.\n\nIt is a step towards https://github.com/iree-org/iree/issues/22485\n\n---------\n\nSigned-off-by: hanhanW \u003chanhan0912@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cd68c7baa69c74cefeedb03673b2fcb80264d0fc",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Stream/Transforms/UnifyEncodingForGlobals.cpp",
      "new_id": "f7351583e664091ceb75d78098c8bbce691e7dda",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Stream/Transforms/UnifyEncodingForGlobals.cpp"
    },
    {
      "type": "modify",
      "old_id": "ba988eb30cef74682e96dfde0207336b2a3a81be",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Stream/Transforms/test/unify_encoding_for_globals.mlir",
      "new_id": "d520d11eaa2d4346feb1422e4cbd638e27564bba",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Stream/Transforms/test/unify_encoding_for_globals.mlir"
    }
  ]
}
