)]}'
{
  "commit": "2aca09163976c77a2c7fb37d2d893d0abf08ca59",
  "tree": "c6780cc7312659d0fb1f4c90314f702990ec6ff6",
  "parents": [
    "6245db1c0423340d09e5f356ddb1c9463ff08a1d"
  ],
  "author": {
    "name": "Krzysztof Drewniak",
    "email": "Krzysztof.Drewniak@amd.com",
    "time": "Fri Jan 10 06:45:23 2025 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Jan 10 06:45:23 2025 -0800"
  },
  "message": "[Codegen][Nearly NFC] Move PropagateDispatchSizeBounds to Common/ (#19650)\n\nAs part of refactoring the single-iteration loop remover to use the\r\nValueBoundsOpInterface, I\u0027ll want to annotate workgroup IDs and counts\r\nwith theri `upper_bound`s before removing those loops, instead of having\r\nthe pass look that information up from context using a custom function.\r\n\r\nSince other code like the CPU backend also uses the single-iteration\r\nloop remover and workgroup counts (but not, I think, workitems) I\u0027ve\r\ngeneralized the annotation pass to not require a GPU target (and thus to\r\nfall back to not adding a bound if one can\u0027t be inferred) and I\u0027ve moved\r\nit into Codegen/Common (along with renaming it) so it can be called from\r\nnon-GPU flows.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8582cf9f3a8201e2bae456f2d1c6707d612cd2c5",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/BUILD.bazel",
      "new_id": "940477d8a94243f43346fff7a7ffb61bcffb500a",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "1dd9f91f8123f152d66c433b6aaf2dbe2ad37b8a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/CMakeLists.txt",
      "new_id": "d6e25280781dd15f9b91162542d21096f239f706",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "f4f8c414936e02d2dd24dbbd5f9520d15415e1d2",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/BUILD.bazel",
      "new_id": "c35b5115d2fefc017fa674a7f0de65b698b73078",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "4c1422e11ba532c4a268f7b8bfd5634b2396482b",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/CMakeLists.txt",
      "new_id": "51576eb382954fe6ee637377ccb62657e9b44f10",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/CMakeLists.txt"
    },
    {
      "type": "delete",
      "old_id": "43aa70be6919acfeddea7726e8ede858c5495948",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/GPUPropagateDispatchSizeBounds.cpp",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "24552cbdfee040a5e016c40164d0c753a9e0a74a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/Passes.td",
      "new_id": "3a71759114c6303e3a75a94d8ca3b4208b0dc7fc",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/Passes.td"
    },
    {
      "type": "modify",
      "old_id": "2f3b092d56760f5fc71c1dcd05fd34b90bb06897",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/test/BUILD.bazel",
      "new_id": "a43b4502b5a7ff40d40f4dd35e48ad79cdd571bd",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/test/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "50be391693cc028cf2af791c27511ed80d31ef5c",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/test/CMakeLists.txt",
      "new_id": "8efb7349275f4b2d08b23c873ae8a3d85177de84",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/test/CMakeLists.txt"
    },
    {
      "type": "delete",
      "old_id": "f26f2c5dfe52dbc481ff2726dff127ff2dd11b3e",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/test/gpu_propagate_dispatch_size_bounds.mlir",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "1854279e7f56adcc2aa6c27f8d45f77c16997313",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/Passes.td",
      "new_id": "7188de257ca893fc8d5b212ba2f313543b0aca63",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/Passes.td"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1ca6ecdfb0a54326dcb509207acf007e2c123a6e",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/PropagateDispatchSizeBounds.cpp"
    },
    {
      "type": "modify",
      "old_id": "edbb5d890575b024f27c62607029c3c5eef7e018",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/test/BUILD.bazel",
      "new_id": "43a40795ac6377ce8f58b2aac6d590081da06ab9",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/test/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "e240940960fef96d4f4412f409d91d63a1fd944f",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/test/CMakeLists.txt",
      "new_id": "cfeef07333a6d43e1edf4eb066e0d4c1a115c281",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/test/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eb85adcab8b3217e2457bff24e6c169785afd293",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/test/propagate_dispatch_size_bounds.mlir"
    },
    {
      "type": "modify",
      "old_id": "d0a269e6929eeb7f2138974daea7495b00d9136c",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/Passes.cpp",
      "new_id": "c3dda57d208583d84c3157b98233ac0e813c4536",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/Passes.cpp"
    },
    {
      "type": "modify",
      "old_id": "511dbe785300fc0ed17124160fdf9ae45ce5ec6c",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/Passes.cpp",
      "new_id": "2a13558fb4332e6317e99c3e2775402997e2466f",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/Passes.cpp"
    }
  ]
}
