)]}'
{
  "commit": "9762ed01cb2e06111d523c940805f7ccd4d4b021",
  "tree": "676a4f0384441d9ad1730a51073bf661f77bd389",
  "parents": [
    "540d8a692ba7b0707133bf7bbb822283ff780b0d"
  ],
  "author": {
    "name": "Corentin Wallez",
    "email": "cwallez@chromium.org",
    "time": "Wed Jun 11 07:41:29 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Jun 11 07:41:29 2025 -0700"
  },
  "message": "[dawn] Make BitSetRangeIterator::Advance simpler to reason about\n\nThe calls to ScanForwardAndShiftBits with mBits inversion interspersed\nmade it difficult to reason about what\u0027s happening. The second call\nto ScanForwardAndShiftBits before the last mBits inversion introduced\nextra 1 bits on the left that had to be cleaned up.\n\nInstead inline ScanForwardAndShiftBits and use countr_one instead of\nshifting all of mBits. Finally guard the loop to run only when the\nbitset has more than 64 bits.\n\nSimplifies test code mildly.\n\nBug: None\nChange-Id: I81ad70f799e287e980fd1e994b239ec2f1c31e5c\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/244815\nReviewed-by: Shaobo Yan \u003cshaoboyan@microsoft.com\u003e\nReviewed-by: Geoff Lang \u003cgeofflang@chromium.org\u003e\nAuto-Submit: Corentin Wallez \u003ccwallez@chromium.org\u003e\nCommit-Queue: Corentin Wallez \u003ccwallez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "85773c2c92573f45e0caaee7a4744d330a8765a7",
      "old_mode": 33188,
      "old_path": "src/dawn/common/BitSetRangeIterator.h",
      "new_id": "aecdb579d517d8f2a6ce7e9693fb4efe9964a92b",
      "new_mode": 33188,
      "new_path": "src/dawn/common/BitSetRangeIterator.h"
    },
    {
      "type": "modify",
      "old_id": "1798b47eddcd6820c53c63c303e8f7dfe61b7242",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/unittests/BitSetRangeIteratorTests.cpp",
      "new_id": "5a0068dd2171faefa766153c9b010ad33b72debf",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/unittests/BitSetRangeIteratorTests.cpp"
    }
  ]
}
