Skip to content

Commit 2739fa8

Browse files
committed
Fix
1 parent b8021ed commit 2739fa8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,7 @@ struct WgToSgVectorShapeCastOp
997997
return srcNonUnit == dstNonUnit;
998998
};
999999

1000-
if (!onlyUnitDims(srcType.getShape(), sgShape) ||
1001-
!onlyUnitDims(sgShape, srcType.getShape()))
1000+
if (!onlyUnitDims(srcType.getShape(), sgShape))
10021001
return failure();
10031002

10041003
SmallVector<Value> newShapeCastOps;

0 commit comments

Comments
 (0)