)]}'
{
  "commit": "f9562feeaf1eaab5f2d5ed7a3265029d21e9fcea",
  "tree": "8e95dae7e823e7138fa50096cb7859c8b1cc55bc",
  "parents": [
    "915c6ea4d5d5af191c40cb6f0168fbaf4684eb2f"
  ],
  "author": {
    "name": "Ben Vanik",
    "email": "ben.vanik@gmail.com",
    "time": "Tue May 05 20:14:03 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue May 05 20:14:03 2026 -0700"
  },
  "message": "[HAL] Preserve tensor import effects when folding (#24364)\n\nHAL tensor imports carry optional wait fences and consume markers that\nare part of the availability and ownership contract for the imported\ntensor. Folding through an import/export pair erased that contract,\nallowing an async wrapper that returns an imported buffer view unchanged\nto discard the wait fence and signal its output fence immediately.\n\nKeep the fold only for imports with no sequencing or ownership effects.\nImports with wait_fence, consume, or byte offsets remain explicit so\nlater conversion can materialize the required timepoint await or\nownership transfer instead of reducing the wrapper to an immediate\nhost-side fence signal.\n\nAdd canonicalization coverage for both import-to-export and\nexport-to-import pairs so the plain effect-free fold remains available\nwhile sequenced imports are preserved.\n\nFound while triaging #24324.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e531a271f7fc93ef3b6745cc6a16de6a4edd993f",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/HAL/IR/HALOpFolders.cpp",
      "new_id": "99997ad6a652b4336179aa048903937b2e246844",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/HAL/IR/HALOpFolders.cpp"
    },
    {
      "type": "modify",
      "old_id": "aa6439e0544cf9f387b4eff6fbc9cc185dffb779",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/HAL/IR/test/tensor_folding.mlir",
      "new_id": "f9488508cead043c8f0fc2e1bbe674d79b1dd189",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/HAL/IR/test/tensor_folding.mlir"
    }
  ]
}
