Skip to content

Commit 64c9d30

Browse files
Update mlir/lib/CAPI/Transforms/Rewrite.cpp
Co-authored-by: Maksim Levental <[email protected]>
1 parent 528f0e3 commit 64c9d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/CAPI/Transforms/Rewrite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ MlirRewriterBase mlirPatternRewriterAsBase(MlirPatternRewriter rewriter) {
338338
//===----------------------------------------------------------------------===//
339339

340340
inline const mlir::RewritePattern *unwrap(MlirRewritePattern pattern) {
341-
assert(pattern.ptr && "unexpected null pattern");
341+
assert(pattern.ptr && "expected non-null pattern");
342342
return static_cast<const mlir::RewritePattern *>(pattern.ptr);
343343
}
344344

0 commit comments

Comments
 (0)