)]}'
{
  "commit": "a7c6a5eb75c1f300c6500d4c9f8b0099f08532c7",
  "tree": "cb2addabd6fdf1b6504d01b0d477aef5f8495e3e",
  "parents": [
    "b379bf64ce5d46c1be970726de15271522b1e82a"
  ],
  "author": {
    "name": "Anutosh Bhat",
    "email": "andersonbhat491@gmail.com",
    "time": "Tue Nov 17 05:47:17 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Nov 17 01:17:17 2026 +0100"
  },
  "message": "[Util] Avoid invalid immutable promotion in FoldGlobals (#25217)\n\nI hit this while compiling a model with asynchronously initialized\nparameters. `FoldGlobals` marks a mutable global immutable even though\nit has both an initial value and an initializer store. This produces IR\nthat the initialization verifier rejects as double initialization.\n\nKeep these globals mutable when initializer stores remain. Removing the\ninitial value would also be incorrect, since an initializer can read it\nbefore storing a replacement.\n\nSigned-off-by: anutosh491 \u003candersonbhat491@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3c8b44a1c282ad9d980f6210c44b97fb24033c62",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Util/Transforms/FoldGlobals.cpp",
      "new_id": "b5f7fb59c1f5cc5a89c26d409ca1ac1a278ccb3e",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Util/Transforms/FoldGlobals.cpp"
    },
    {
      "type": "modify",
      "old_id": "4f6f7cd389112fe8b12ba954b13e8f582d0df2a5",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Util/Transforms/test/fold_globals.mlir",
      "new_id": "040a0d992c94eb215cdcdff412549f306be3a997",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Util/Transforms/test/fold_globals.mlir"
    }
  ]
}
