[Mlir-commits] [mlir] 872d72e - [mlir][NFC] Style cleanup in comments

Tres Popp llvmlistbot at llvm.org
Wed Oct 7 01:05:47 PDT 2020


Author: Tres Popp
Date: 2020-10-07T10:05:36+02:00
New Revision: 872d72eeeb7eeea05e5812967faf9801fdbe48c4

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

LOG: [mlir][NFC] Style cleanup in comments

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
    mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Shape/Transforms/Passes.td b/mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
index 09cc7a1a5c93..e3b6a476a9f5 100644
--- a/mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
+++ b/mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
@@ -21,7 +21,7 @@ def ShapeToShapeLowering : FunctionPass<"shape-to-shape-lowering"> {
   let constructor = "mlir::createShapeToShapeLowering()";
 }
 
-// TODO(tpopp): Generalize this to allow any type conversions desired.
+// TODO: Generalize this to allow any type conversions desired.
 def ShapeTensorToMemref : FunctionPass<"shape-tensor-to-memref"> {
   let summary = "Replace tensors involving shape operations with memrefs";
   let constructor = "mlir::createShapeTensorToMemrefPass()";

diff  --git a/mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp b/mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp
index 98398fbc70e6..2baa1175807c 100644
--- a/mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp
+++ b/mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp
@@ -1,5 +1,4 @@
-//=====------- ShapeTypeConversion.cpp - Shape Type Conversions ----------*- C++
-//-*-=====//
+//====----- ShapeTypeConversion.cpp - Shape Type Conversions ----*- C++-*--===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -82,7 +81,7 @@ struct ShapeTensorToMemrefPass
 
 /// Populates `patterns` with the conversion patterns of tensor->memref.
 //
-// TODO(tpopp): Change this to work generally with any type conversions.
+// TODO: Change this to work generally with any type conversions.
 void mlir::populateShapeTypeConversionPatterns(
     MLIRContext *context, BufferAssignmentTypeConverter *converter,
     OwningRewritePatternList *patterns) {


        


More information about the Mlir-commits mailing list