Skip to content

Commit 460413e

Browse files
committed
Fix warning
1 parent a077d53 commit 460413e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ xegpu::extractVectorsWithShapeFromValue(OpBuilder &builder, Location loc,
265265
// Reshape to remove leading unit dims if needed
266266
if (srcShapeRank > targetShapeRank) {
267267
auto targetTy = VectorType::get(shape, vecTy.getElementType());
268-
slice = builder.create<vector::ShapeCastOp>(loc, targetTy, slice);
268+
slice = vector::ShapeCastOp::create(builder, loc, targetTy, slice);
269269
}
270270
result.push_back(slice);
271271
}

0 commit comments

Comments
 (0)