From 872d72eeeb7eeea05e5812967faf9801fdbe48c4 Mon Sep 17 00:00:00 2001 From: Tres Popp Date: Wed, 7 Oct 2020 10:04:45 +0200 Subject: [PATCH] [mlir][NFC] Style cleanup in comments --- mlir/include/mlir/Dialect/Shape/Transforms/Passes.td | 2 +- mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mlir/include/mlir/Dialect/Shape/Transforms/Passes.td b/mlir/include/mlir/Dialect/Shape/Transforms/Passes.td index 09cc7a1..e3b6a47 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 98398fb..2baa117 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) { -- 2.7.4