)]}'
{
  "commit": "f932fc23e2f84c8affbca4b2761d1da7dd4e0ccd",
  "tree": "2288527d1ed7c543fe9edd1f9e9fcc376d3fffcb",
  "parents": [
    "01628d6fd0b3f85ffc42668f71200b1ad62100b1"
  ],
  "author": {
    "name": "Steven Perron",
    "email": "stevenperron@google.com",
    "time": "Tue Sep 30 21:53:26 2025 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Sep 30 21:53:26 2025 -0400"
  },
  "message": "spirv-opt: Handle id overflow in MergeReturnPass (#6340)\n\nThis CL adds error handling to the MergeReturnPass to gracefully handle\ncases where the pass runs out of IDs.\n\nThe following functions were modified to return a boolean indicating\nsuccess or failure:\n- AddNewPhiNodes\n- AddReturnFlag\n- AddReturnValue\n- BranchToBlock\n- CreatePhiNodesForInst\n- ProcessStructuredBlock\n- RecordReturned\n- UpdatePhiNodes\n\nThe callers of these functions were updated to check the return value\nand propagate the failure. This prevents the pass from crashing when it\nruns out of IDs.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "427b4ec925d1d01f03c5126e6e7ac666b9aa6d60",
      "old_mode": 33188,
      "old_path": "source/opt/merge_return_pass.cpp",
      "new_id": "47b07631368dc76ae599f9ccb907676d3a124a04",
      "new_mode": 33188,
      "new_path": "source/opt/merge_return_pass.cpp"
    },
    {
      "type": "modify",
      "old_id": "d39c1d954dd43b90559174f4ef92f8ad349c836a",
      "old_mode": 33188,
      "old_path": "source/opt/merge_return_pass.h",
      "new_id": "d83ffc35951a203c1fb5516bdb4e6a77db3b3299",
      "new_mode": 33188,
      "new_path": "source/opt/merge_return_pass.h"
    }
  ]
}
