)]}'
{
  "commit": "bae8f56734137f75cbf1e49403218ed243f812fe",
  "tree": "07b0a7b2e574cfc02c2eae7dcb82a59f1397282d",
  "parents": [
    "87894839d12016ab595b279cc08c26969f212260"
  ],
  "author": {
    "name": "Zhuoran Yin",
    "email": "zhuoryin@amd.com",
    "time": "Wed Apr 15 17:01:40 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Apr 15 17:01:40 2026 -0400"
  },
  "message": "[Codegen][GPU] Guard multi-buffering behind pipelining pre-flight check (#24114)\n\nMove computeStageClassification before multiBufferLDSAllocations as a\npre-flight validation. If stage classification fails (e.g. gather_to_lds\ninside scf.if, insufficient loop iterations), bail out before mutating\nthe IR. This prevents doubled LDS allocations with no actual pipelining.\n\nAfter multi-buffering succeeds, re-run classification on the mutated IR\nto capture the correct double buffered schedule.\n\nSigned-off-by: jerryyin \u003czhuoryin@amd.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9f7a5f4180913b593f499d76a9b73acb8fa19a7d",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/Utils/ROCDLPrefetchSharedMemoryCopy.cpp",
      "new_id": "a87d8893c21824e49e8a2763cf615d18cd3e944b",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/Utils/ROCDLPrefetchSharedMemoryCopy.cpp"
    },
    {
      "type": "modify",
      "old_id": "7011c77cc2932d0bbd1b3eaf54fd3c0cec2aee42",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/test/prefetch_shared_memory.mlir",
      "new_id": "d47a0a9870796aec37173d360e16a72d61462882",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/test/prefetch_shared_memory.mlir"
    }
  ]
}
