diff --git a/lib/Dialect/XeTile/Transforms/Blocking.cpp b/lib/Dialect/XeTile/Transforms/Blocking.cpp index 337f18f22..5a8e9f483 100644 --- a/lib/Dialect/XeTile/Transforms/Blocking.cpp +++ b/lib/Dialect/XeTile/Transforms/Blocking.cpp @@ -702,8 +702,9 @@ class RewritePrefetchTileOp auto convertedTiles = addPackOp(tile, convertedTileTypes, blockSize.asArrayRef(), loc, rewriter); - for (auto [t, ty] : llvm::zip_equal(convertedTiles, convertedTileTypes)) { - rewriter.create(loc, ty, t, op->getAttrs()); + for (auto t : convertedTiles) { + rewriter.create(loc, mlir::TypeRange(), t, + op->getAttrs()); } rewriter.eraseOp(op);