)]}'
{
  "commit": "e32efc9a329aacdcb34f51f3cfcb86e4750523b7",
  "tree": "8d1cbf34e77386d404201cdfa8f864e0f35a5243",
  "parents": [
    "e480a57844d6012d2f2a159aecb83f3801854bf0"
  ],
  "author": {
    "name": "riestmo-nxp",
    "email": "149694071+riestmo-nxp@users.noreply.github.com",
    "time": "Mon Nov 02 15:46:11 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 02 15:46:11 2026 +0100"
  },
  "message": "[Runtime] Fix shift-count-overflow in next_power_of_two on 32-bit targets (#25142)\n\nOn 32-bit targets, iree_host_size_t and iree_device_size_t are only 32\nbits wide. The `value |\u003d value \u003e\u003e 32;` statement in\niree_host_size_next_power_of_two() and\niree_device_size_next_power_of_two() then fails to compile with\n-Werror\u003dshift-count-overflow. This happens even though the code is\ninside an `if (sizeof(...) \u003d\u003d 8)` branch that never runs on those\ntargets: the compiler still checks it.\n\nThis change splits the 32-bit shift into two 16-bit shifts, `(value \u003e\u003e\n16) \u003e\u003e 16`. The result is the same on 64-bit targets, and no shift is\never as wide as the type on 32-bit targets, so the warning goes away.\n\nFixes #25134\n\nAssisted-by: Claude Opus 5.5\n\nSigned-off-by: Moritz Riesterer \u003cmoritz.riesterer@nxp.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "49a8798604ae4b0d7db88e59cb7de2d6c72fa322",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/alignment.h",
      "new_id": "44575b53b5937ea959344daa263348476c067908",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/alignment.h"
    }
  ]
}
