[Mlir-commits] [mlir] d859275 - [mlir] Fix typo for unknown operation

Kai Sasaki llvmlistbot at llvm.org
Wed Mar 22 17:58:59 PDT 2023


Author: Kai Sasaki
Date: 2023-03-23T09:58:40+09:00
New Revision: d859275e7701c10b7dfe8b2be27b8eae4d97a7bd

URL: https://github.com/llvm/llvm-project/commit/d859275e7701c10b7dfe8b2be27b8eae4d97a7bd
DIFF: https://github.com/llvm/llvm-project/commit/d859275e7701c10b7dfe8b2be27b8eae4d97a7bd.diff

LOG: [mlir] Fix typo for unknown operation

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D146607

Added: 
    

Modified: 
    mlir/lib/IR/AsmPrinter.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp
index dd3112516fc5..75448955f312 100644
--- a/mlir/lib/IR/AsmPrinter.cpp
+++ b/mlir/lib/IR/AsmPrinter.cpp
@@ -1369,7 +1369,7 @@ void SSANameState::printValueID(Value value, bool printResultNo,
 void SSANameState::printOperationID(Operation *op, raw_ostream &stream) const {
   auto it = operationIDs.find(op);
   if (it == operationIDs.end()) {
-    stream << "<<UNKOWN OPERATION>>";
+    stream << "<<UNKNOWN OPERATION>>";
   } else {
     stream << '%' << it->second;
   }


        


More information about the Mlir-commits mailing list