We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3914d commit aeebd0fCopy full SHA for aeebd0f
mlir/lib/Dialect/SCF/Transforms/UpliftWhileToFor.cpp
@@ -44,7 +44,7 @@ struct UpliftWhileOp : public OpRewritePattern<scf::WhileOp> {
44
scf::ConditionOp beforeTerm = loop.getConditionOp();
45
if (!cmp->hasOneUse() && beforeTerm.getCondition() == cmp.getResult())
46
return rewriter.notifyMatchFailure(loop, [&](Diagnostic &diag) {
47
- diag << "Expected single condiditon use: " << *cmp;
+ diag << "Expected single condition use: " << *cmp;
48
});
49
50
// All `before` block args must be directly forwarded to ConditionOp.
0 commit comments