)]}'
{
  "commit": "ba3c17691844ab07aed1eabfd2fa55a1fcd81bda",
  "tree": "66b4c0cfd5c14362dfab475ff536c2286cd58741",
  "parents": [
    "430c36bb915b28478ceb9c969be39e10a0121885"
  ],
  "author": {
    "name": "Roberto Laudani",
    "email": "laudani@roofline.ai",
    "time": "Wed Dec 02 10:18:07 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Dec 02 09:18:07 2026 +0000"
  },
  "message": "[GlobalOptimization] Expand dynamic tensor shapes through scf.for (#25366)\n\nA dynamically shaped `scf.for` iter_arg fails in Flow with `\u0027tensor.dim\u0027\nop unexpected during shape cleanup`, because `ExpandTensorShapes`\nhandles `scf.while` and `scf.if` but not `scf.for`. ONNX\nNonMaxSuppression hits this since llvm/torch-mlir#4933. Part of #19474.\n\nThis expands `scf.for` like `scf.while`, with the dynamic dims as extra\niter_args. `scf.while` gets the same example comment.\n\nAssisted-by: Claude Code\n\n---------\n\nSigned-off-by: Roberto Laudani \u003claudani@roofline.ai\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e2b900ade36e1536033ff45d8a360575d9dc0281",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/GlobalOptimization/ExpandTensorShapes.cpp",
      "new_id": "1978523e503a47b9c306a49656d00fd11972835e",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/GlobalOptimization/ExpandTensorShapes.cpp"
    },
    {
      "type": "modify",
      "old_id": "de519db63fcd65eec7913bf70fa28d4700a1111b",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/GlobalOptimization/test/expand_tensor_shapes.mlir",
      "new_id": "8a4b406aed0c9527baea08995c886dd62b7b36b3",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/GlobalOptimization/test/expand_tensor_shapes.mlir"
    }
  ]
}
