Skip to content

Commit aeebd0f

Browse files
committed
fix typo
1 parent cb3914d commit aeebd0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/SCF/Transforms/UpliftWhileToFor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct UpliftWhileOp : public OpRewritePattern<scf::WhileOp> {
4444
scf::ConditionOp beforeTerm = loop.getConditionOp();
4545
if (!cmp->hasOneUse() && beforeTerm.getCondition() == cmp.getResult())
4646
return rewriter.notifyMatchFailure(loop, [&](Diagnostic &diag) {
47-
diag << "Expected single condiditon use: " << *cmp;
47+
diag << "Expected single condition use: " << *cmp;
4848
});
4949

5050
// All `before` block args must be directly forwarded to ConditionOp.

0 commit comments

Comments
 (0)