)]}'
{
  "commit": "96ce9f9d646efbba6aa52555004ac7ffe269b799",
  "tree": "a577c4a0f5babd06ee307effe081e30a78f84f0a",
  "parents": [
    "7bdd88c1e3a70d8213f8bc68403fbd844f11b00c"
  ],
  "author": {
    "name": "Krzysztof Drewniak",
    "email": "Krzysztof.Drewniak@amd.com",
    "time": "Tue Sep 16 18:02:18 2025 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Sep 16 18:02:18 2025 -0700"
  },
  "message": "[AMDGPU] Prevent re-visits in LowerBufferFatPointers (#159168)\n\nFixes https://github.com/iree-org/iree/issues/22001\n\nThe visitor in SplitPtrStructs would re-visit instructions if an\ninstruction earlier in program order caused a recursive visit() call via\ngetPtrParts(). This would cause instructions to be processed multiple\ntimes.\n\nAs a consequence of this, PHI nodes could be added to the Conditionals\narray multiple times, which would to a conditinoal that was already\nsimplified being processed multiple times. After the code moved to\nInstSimplifyFolder, this re-processing, combined with more agressive\nsimplifications, would lead to an attempt to replace an instruction with\nitself, causing an assertion failure and crash.\n\nThis commit resolves the issue and adds the reduced form of the crashing\ninput as a test.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7dc1ec07cf0f977a58ce7159c6496c2640cdcef5",
      "old_mode": 33188,
      "old_path": "llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp",
      "new_id": "d9bfeae52e213ae0258b2932497eeffa124e17a5",
      "new_mode": 33188,
      "new_path": "llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp"
    },
    {
      "type": "modify",
      "old_id": "29e727b393309999509acf78cdc470d41b118ce9",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-control-flow.ll",
      "new_id": "4fa7c29bfde020709f6d1297a3b839bb505b99e1",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-control-flow.ll"
    }
  ]
}
