From: Geoffrey Martin-Noble Date: Thu, 11 Apr 2019 00:16:19 +0000 (-0700) Subject: Add support for statically shaped and typed tensors X-Git-Tag: llvmorg-11-init~1466^2~1939 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe59ba19afbd8041027d37d19c7d23a337e7248e;p=platform%2Fupstream%2Fllvm.git Add support for statically shaped and typed tensors -- PiperOrigin-RevId: 242972594 --- diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td index 52a4a1e..8fd2e00 100644 --- a/mlir/include/mlir/IR/OpBase.td +++ b/mlir/include/mlir/IR/OpBase.td @@ -315,6 +315,10 @@ class TypedTensor "{0}.cast().getElementType()", "tensor">; +class TypedStaticShapeTensor + : Type.predicate, IsStaticShapeTensorTypePred ]>, + "statically shaped tensor">; + def I1Tensor : TypedTensor; def I8Tensor : TypedTensor; def I16Tensor : TypedTensor;