)]}'
{
  "commit": "55c8a434a10eeb209947ba0d050887cc742e0abf",
  "tree": "da51731b9019b482f29f49e985eadb1624b2ac42",
  "parents": [
    "034d5ef700642373e87ea6fb2f858ec0a744effa"
  ],
  "author": {
    "name": "Erick Ochoa Lopez",
    "email": "erick.ochoalopez@amd.com",
    "time": "Wed Apr 08 15:57:12 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Apr 08 19:57:12 2026 +0000"
  },
  "message": "[SPIRV] Add native shapes for step op (#24046)\n\nSPIRV\u0027s TypeConverter failed with the following debug message:\n\n\u003e  illegal: not a valid composite type\n\nwhich for vectors and composite types means that the vector had an\ninvalid size.\n`SPIRVInitialVectorLoweringPass` includes the upstream VectorUnroll\npatterns which themselves can unroll vector.step.\nHowever, vector.step was skipped from unrolling since it lacked a target\nshaped defined in the VectorUnroll options.\n\n```\n[vector-unroll VectorUnroll.cpp:92 1] Get unroll shape for op vector.step\n[vector-unroll VectorUnroll.cpp:110 1] --vector op shape: 5\n[vector-unroll VectorUnroll.cpp:114 1] --no unrolling target shape defined \n%20 \u003d vector.step : vector\u003c5xindex\u003e-\u003e SKIP\n```\n\nTo fix this we simply define a target shape for vector.step following\nthe established conventions for other operations.\n\nFixes #24035\n\n---------\n\nSigned-off-by: Erick Ochoa \u003cerick.ochoalopez@amd.com\u003e\nCo-authored-by: Eric Feng \u003c55723758+efric@users.noreply.github.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e388490d511fe69cd0e8974cd47ec75d0a5aff39",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/SPIRVInitialVectorLowering.cpp",
      "new_id": "2d22df5d68c3f24bf17c85805a74734f272f4eaf",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/SPIRVInitialVectorLowering.cpp"
    },
    {
      "type": "modify",
      "old_id": "19021bc1e097a0c4b4be0d0117301e0d7cb72ead",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/test/initial_vector_lowering_index_type.mlir",
      "new_id": "db5751d59150d5f22f27a66169a12739a92b42fd",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/test/initial_vector_lowering_index_type.mlir"
    }
  ]
}
