)]}'
{
  "commit": "1306534b4fa05af671ddc256f6ad9af51dde18df",
  "tree": "189732c8033d8412e13f4bb93060db8a3319824e",
  "parents": [
    "f2ee438f26fdd4f71081e92055f51a4fefcac472"
  ],
  "author": {
    "name": "Pan Zhang",
    "email": "98025960+zhangpan2001@users.noreply.github.com",
    "time": "Tue Nov 03 19:05:59 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Nov 03 12:05:59 2026 +0100"
  },
  "message": "[VM] Fix ref ownership in branch remaps (#24781)\n\nBranch remaps selected MOVE using `isLastRealValueUse`, whose result\naccounts for uses across all successors. A use on one successor\ntherefore prevented ownership transfer on another mutually exclusive\nsuccessor, leaving an extra owning reference on the taken path.\n\nUse target-block liveness to select MOVE independently for each\nsuccessor. If one occurrence of a repeated operand is coalesced with its\ndestination, prevent the other remaps from using MOVE; otherwise a MOVE\nwould clear the coalesced register.\n\nAdd register allocation tests for both cases and an LLVM CPU end-to-end\nregression that executes both selector paths with indirect command\nbuffers disabled.\n\nFixes #24753\n\nSigned-off-by: zhangpan \u003c98025960+zhangpan2001@users.noreply.github.com\u003e\nCo-authored-by: OpenAI \u003cnoreply@openai.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c5d4f208f656b87bd81f8f19e5061ee084ae1e35",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/Analysis/RegisterAllocation.cpp",
      "new_id": "83810babc16e0a9ae146b0049255f908ddfa0746",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/Analysis/RegisterAllocation.cpp"
    },
    {
      "type": "modify",
      "old_id": "2ebabde3b24ec2e1d45b8d3f9e95a99e42654e73",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/Analysis/RegisterAllocation.h",
      "new_id": "eadd8d26542dda52347330c077da114caee2f7de",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/Analysis/RegisterAllocation.h"
    },
    {
      "type": "modify",
      "old_id": "872307ac472d31f86f0a28d5d4a4c1e6e9132dda",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/Analysis/test/register_allocation_refs.mlir",
      "new_id": "44c11a096affca7aedf4ff6c84a741ab8c63478b",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/Analysis/test/register_allocation_refs.mlir"
    },
    {
      "type": "modify",
      "old_id": "86659f7da888b9600bdeed300ac054f5666aaa51",
      "old_mode": 33188,
      "old_path": "tests/e2e/regression/BUILD.bazel",
      "new_id": "79227fb23915d1336a76e7eac2de61c26d11f5e9",
      "new_mode": 33188,
      "new_path": "tests/e2e/regression/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "5d2dd17913c02ce6c09af0f95499a55156edadcb",
      "old_mode": 33188,
      "old_path": "tests/e2e/regression/CMakeLists.txt",
      "new_id": "9d6799c35daa2f29bd406dbab8ff57a971419600",
      "new_mode": 33188,
      "new_path": "tests/e2e/regression/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8e86f5ecaa0ba73e327ccd83186966bbc7613a9e",
      "new_mode": 33188,
      "new_path": "tests/e2e/regression/vm_ref_branch_ownership.mlir"
    }
  ]
}
