[Mlir-commits] [mlir] 015ebd2 - [mlir][toy] Fix comment typo. NFC

Jonathan Roelofs llvmlistbot at llvm.org
Sat Apr 11 08:12:19 PDT 2020


Author: Jonathan Roelofs
Date: 2020-04-11T09:11:35-06:00
New Revision: 015ebd2930bd07bc535769eae2184e9ae2f3c86a

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

LOG: [mlir][toy] Fix comment typo. NFC

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

Added: 
    

Modified: 
    mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
    mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp b/mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
index 9c36f11c52c4..39917996b9da 100644
--- a/mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
+++ b/mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
@@ -167,7 +167,7 @@ void ToyToLLVMLoweringPass::runOnOperation() {
   target.addLegalOp<ModuleOp, ModuleTerminatorOp>();
 
   // During this lowering, we will also be lowering the MemRef types, that are
-  // currently being operated on, to a representation in LLVM. Do perform this
+  // currently being operated on, to a representation in LLVM. To perform this
   // conversion we use a TypeConverter as part of the lowering. This converter
   // details how one type maps to another. This is necessary now that we will be
   // doing more complicated lowerings, involving loop region arguments.

diff  --git a/mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp b/mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
index 9c36f11c52c4..39917996b9da 100644
--- a/mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
+++ b/mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
@@ -167,7 +167,7 @@ void ToyToLLVMLoweringPass::runOnOperation() {
   target.addLegalOp<ModuleOp, ModuleTerminatorOp>();
 
   // During this lowering, we will also be lowering the MemRef types, that are
-  // currently being operated on, to a representation in LLVM. Do perform this
+  // currently being operated on, to a representation in LLVM. To perform this
   // conversion we use a TypeConverter as part of the lowering. This converter
   // details how one type maps to another. This is necessary now that we will be
   // doing more complicated lowerings, involving loop region arguments.


        


More information about the Mlir-commits mailing list