diff options
| author | Kazuaki Ishizaki <ishizaki@jp.ibm.com> | 2019-12-06 05:58:59 -0800 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-12-06 05:59:30 -0800 |
| commit | 84a6182ddd62a2ca8eee2d8470e3be1ef6147fce (patch) | |
| tree | cadd92b3cd08a3f2e04b533a6f0bba78656b78e7 /mlir/lib/IR | |
| parent | 58adf99ed1a2656c8aec310e6f78da986eb05570 (diff) | |
| download | bcm5719-llvm-84a6182ddd62a2ca8eee2d8470e3be1ef6147fce.tar.gz bcm5719-llvm-84a6182ddd62a2ca8eee2d8470e3be1ef6147fce.zip | |
minor spelling tweaks
Closes tensorflow/mlir#290
COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/290 from kiszk:spelling_tweaks_201912 9d9afd16a723dd65754a04698b3976f150a6054a
PiperOrigin-RevId: 284169681
Diffstat (limited to 'mlir/lib/IR')
| -rw-r--r-- | mlir/lib/IR/AsmPrinter.cpp | 2 | ||||
| -rw-r--r-- | mlir/lib/IR/Diagnostics.cpp | 2 | ||||
| -rw-r--r-- | mlir/lib/IR/Operation.cpp | 2 | ||||
| -rw-r--r-- | mlir/lib/IR/SymbolTable.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp index a3a15dac533..ed97b8b5940 100644 --- a/mlir/lib/IR/AsmPrinter.cpp +++ b/mlir/lib/IR/AsmPrinter.cpp @@ -1116,7 +1116,7 @@ void ModulePrinter::printType(Type type) { //===----------------------------------------------------------------------===// namespace { -/// This class provides the main specialication of the DialectAsmPrinter that is +/// This class provides the main specialization of the DialectAsmPrinter that is /// used to provide support for print attributes and types. This hooks allows /// for dialects to hook into the main ModulePrinter. struct CustomDialectAsmPrinter : public DialectAsmPrinter { diff --git a/mlir/lib/IR/Diagnostics.cpp b/mlir/lib/IR/Diagnostics.cpp index f2f2f83b3a8..70a802cd856 100644 --- a/mlir/lib/IR/Diagnostics.cpp +++ b/mlir/lib/IR/Diagnostics.cpp @@ -689,7 +689,7 @@ SourceMgrDiagnosticVerifierHandler::SourceMgrDiagnosticVerifierHandler( for (unsigned i = 0, e = mgr.getNumBuffers(); i != e; ++i) (void)impl->computeExpectedDiags(mgr.getMemoryBuffer(i + 1)); - // Register a handler to verfy the diagnostics. + // Register a handler to verify the diagnostics. setHandler([&](Diagnostic &diag) { // Process the main diagnostics. process(diag); diff --git a/mlir/lib/IR/Operation.cpp b/mlir/lib/IR/Operation.cpp index 69b8d056cd5..1d213f45dd5 100644 --- a/mlir/lib/IR/Operation.cpp +++ b/mlir/lib/IR/Operation.cpp @@ -286,7 +286,7 @@ void Operation::destroy() { /// Return the context this operation is associated with. MLIRContext *Operation::getContext() { return location->getContext(); } -/// Return the dialact this operation is associated with, or nullptr if the +/// Return the dialect this operation is associated with, or nullptr if the /// associated dialect is not registered. Dialect *Operation::getDialect() { if (auto *abstractOp = getAbstractOperation()) diff --git a/mlir/lib/IR/SymbolTable.cpp b/mlir/lib/IR/SymbolTable.cpp index b61308b74af..bd8cb59cea7 100644 --- a/mlir/lib/IR/SymbolTable.cpp +++ b/mlir/lib/IR/SymbolTable.cpp @@ -283,7 +283,7 @@ static Optional<WalkResult> walkSymbolUses( if (walkSymbolRefs(&op, callback).wasInterrupted()) return WalkResult::interrupt(); - // If this operation has regions, and it as well as its dialect arent't + // If this operation has regions, and it as well as its dialect aren't // registered then conservatively fail. The operation may define a // symbol table, so we can't opaquely know if we should traverse to find // nested uses. |

