summaryrefslogtreecommitdiffstats
path: root/mlir/tools/mlir-tblgen/RewriterGen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/tools/mlir-tblgen/RewriterGen.cpp')
-rw-r--r--mlir/tools/mlir-tblgen/RewriterGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/tools/mlir-tblgen/RewriterGen.cpp b/mlir/tools/mlir-tblgen/RewriterGen.cpp
index 7a125f50c7d..bed6b0423d1 100644
--- a/mlir/tools/mlir-tblgen/RewriterGen.cpp
+++ b/mlir/tools/mlir-tblgen/RewriterGen.cpp
@@ -163,7 +163,7 @@ private:
raw_ostream &os;
- // Format contexts containing placeholder substitutations.
+ // Format contexts containing placeholder substitutions.
FmtContext fmtCtx;
// Number of op processed.
@@ -313,7 +313,7 @@ void PatternEmitter::emitAttributeMatch(DagNode tree, int index, int depth,
<< ";\n";
} else if (attr.isOptional()) {
// For a missing attribute that is optional according to definition, we
- // should just capature a mlir::Attribute() to signal the missing state.
+ // should just capture a mlir::Attribute() to signal the missing state.
// That is precisely what getAttr() returns on missing attributes.
} else {
os.indent(indent) << "if (!tblgen_attr) return matchFailure();\n";
OpenPOWER on IntegriCloud