)]}'
{
  "commit": "b7f1cf29bf5b68f69b649d6c754eaefa150cc25b",
  "tree": "b771ca73ac65a8d633d31e63fdbdd12ff23bc64a",
  "parents": [
    "7ca09a2fc250c4c129d36fdf08c4069521371d2b"
  ],
  "author": {
    "name": "Bangtian Liu",
    "email": "liubangtian@gmail.com",
    "time": "Tue Apr 14 11:48:46 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Apr 14 11:48:46 2026 -0400"
  },
  "message": "[LinalgExt] Add topk_v2 op with roundtrip and invalid mlir test (#24054)\n\n**Context**: Refer to [Discord\ndiscussion](https://discord.com/channels/689900678990135345/1491812950451814540)\nfor the design choice. We aim to add a top-K op with bitonic sort\nvectorization along the VectorDistribute pipeline. Refer to Issue:\nhttps://github.com/iree-org/iree/issues/24053 for more details.\n\nThis PR, as the first step, defines the` iree_linalg_ext.topk_v2`\noperation and defines its verifier along with corresponding roundtrip\nand invalid tests (`roundtrip.mlir` and `invalid.mlir`).\n\nSupport for topk_v2 will be added incrementally across multiple PRs: \n\n- Add the `iree_linalg_ext.topk_v2` op definition and verification\nlogic, along with roundtrip and invalid IR tests (this PR)\n- Add tiling support\n- Add convert_to_loops lowering support\n- Add e2e support along the VectorDistribute pipeline (vectorization,\nlayout analysis, and distribution, etc)\n\n---------\n\nSigned-off-by: Bangtian Liu \u003cliubangtian@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "13a63472200e83d1358fe28c233bf3ff411a8f66",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/LinalgExt/IR/LinalgExtOps.cpp",
      "new_id": "a10cfbc52f0c9f979b38d34e03e56d747527c68c",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/LinalgExt/IR/LinalgExtOps.cpp"
    },
    {
      "type": "modify",
      "old_id": "1da653c0e73602f7405ae242603de54b3df28909",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/LinalgExt/IR/LinalgExtOps.td",
      "new_id": "01f198d40a3a273e05334672e42e23ae16f0f5a9",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/LinalgExt/IR/LinalgExtOps.td"
    },
    {
      "type": "modify",
      "old_id": "2902eb2feac31631dc7a4d22ae568b31af46957c",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/LinalgExt/IR/test/invalid.mlir",
      "new_id": "5529e9453c14fd6ea5f6ef562166c6afa71523ff",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/LinalgExt/IR/test/invalid.mlir"
    },
    {
      "type": "modify",
      "old_id": "ac54caa453eb28a8598fe58a511adc05bb161dab",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/LinalgExt/IR/test/roundtrip.mlir",
      "new_id": "691f9dfce7fe7df6f7f711d913b248831966c5d5",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/LinalgExt/IR/test/roundtrip.mlir"
    }
  ]
}
