Fix ShapeBase.td
authorSean Silva <silvasean@google.com>
Wed, 6 May 2020 17:37:07 +0000 (10:37 -0700)
committerSean Silva <silvasean@google.com>
Wed, 6 May 2020 17:43:16 +0000 (10:43 -0700)
Summary:
- Add license header.
- Remove TODO about extracting ShapeBase.td

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

mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td

index 9443b78..8bf1e36 100644 (file)
@@ -1,9 +1,20 @@
+//===- ShapeBase.td ----------------------------------------*- tablegen -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// Base definitions for the `shape` dialect.
+//
+//===----------------------------------------------------------------------===//
+
 #ifndef SHAPE_BASE_TD
 #define SHAPE_BASE_TD
 
 include "mlir/IR/OpBase.td"
 
-// TODO(jpienaar): Move to base.
 def AnyShaped: ShapedContainerType<[AnyType], IsShapedTypePred, "shaped">;
 
 //===----------------------------------------------------------------------===//