[Mlir-commits] [mlir] e382b37 - Fix ShapeBase.td
Sean Silva
llvmlistbot at llvm.org
Wed May 6 10:43:38 PDT 2020
Author: Sean Silva
Date: 2020-05-06T10:43:16-07:00
New Revision: e382b3770ed721d63c0c039ff1ceee1b67802b05
URL: https://github.com/llvm/llvm-project/commit/e382b3770ed721d63c0c039ff1ceee1b67802b05
DIFF: https://github.com/llvm/llvm-project/commit/e382b3770ed721d63c0c039ff1ceee1b67802b05.diff
LOG: Fix ShapeBase.td
Summary:
- Add license header.
- Remove TODO about extracting ShapeBase.td
Differential Revision: https://reviews.llvm.org/D79506
Added:
Modified:
mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td b/mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
index 9443b7870072..8bf1e36c63e2 100644
--- a/mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
+++ b/mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
@@ -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">;
//===----------------------------------------------------------------------===//
More information about the Mlir-commits
mailing list