)]}'
{
  "commit": "0893eac771d532b7110f1f7581d3f4cd0b9172bf",
  "tree": "e3ee61c18c54a8031fdae62ae96a890c3067e106",
  "parents": [
    "ff836d7962ea9164f92458efcc6753b34c5e9b6c"
  ],
  "author": {
    "name": "pstarkcdpr",
    "email": "paul.stark@cdprojektred.com",
    "time": "Tue Jul 14 01:17:43 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Jul 14 10:17:43 2026 +0200"
  },
  "message": "Fix compile error when hoisting constants. (#24672)\n\nThe constant-expression hoisting pass (`HoistIntoGlobalsPass`) could\nhoist a const-expr defined *inside* a `flow.dispatch.region`, placing\nthe resulting `util.global.load` within the region. When the region is\nlater outlined into an isolated executable module the global is no\nlonger visible, producing an \"undefined global\" verification error.\n\nSkip any const-expr whose defining op is strictly nested inside a\n`flow.dispatch.region` / `flow.dispatch.workgroups`. Hoisting the\ndispatch op itself remains valid and is unaffected.\n\nFixes issue https://github.com/iree-org/iree/issues/24671\n\n---------\n\nSigned-off-by: Paul Stark \u003cpaul.stark@cdprojektred.com\u003e\nCo-authored-by: Claude Opus 4.8 (1M context) \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4360c8fa8ee5a9ee05926baef9c8ab12610d868",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Util/Transforms/HoistIntoGlobals.cpp",
      "new_id": "12e7afc5ba4337151b2bacaa051fa42982fe532d",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Util/Transforms/HoistIntoGlobals.cpp"
    },
    {
      "type": "modify",
      "old_id": "e2502b1d5dbf5864d6114a1faf0aed81a4245485",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Util/Transforms/test/hoist_into_globals.mlir",
      "new_id": "2fd972ee836b39a62d1d227fc2cdd1db44215197",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Util/Transforms/test/hoist_into_globals.mlir"
    }
  ]
}
