Skip to content

Commit 8234e68

Browse files
committed
Minor typo fix
Signed-off-by: Mohammadreza Ameri Mahabadian <[email protected]>
1 parent b718e34 commit 8234e68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/SPIRV/Transforms/ConvertToReplicatedConstantCompositePass.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ struct ConstantOpConversion final : OpRewritePattern<spirv::ConstantOp> {
6363
if (!compositeType)
6464
return rewriter.notifyMatchFailure(op, "not a composite constant");
6565

66-
auto [splattAttr, splatCount] = getSplatAttributeAndCount(op.getValue());
67-
if (!splattAttr)
66+
auto [splatAttr, splatCount] = getSplatAttributeAndCount(op.getValue());
67+
if (!splatAttr)
6868
return rewriter.notifyMatchFailure(op, "composite is not splat");
6969

7070
if (splatCount == 1)
7171
return rewriter.notifyMatchFailure(op,
7272
"composite has only one constituent");
7373

7474
rewriter.replaceOpWithNewOp<spirv::EXTConstantCompositeReplicateOp>(
75-
op, op.getType(), splattAttr);
75+
op, op.getType(), splatAttr);
7676

7777
return success();
7878
}

0 commit comments

Comments
 (0)