Add buffer size information to Linalg::BufferType. If the size is
authorMahesh Ravishankar <ravishankarm@google.com>
Fri, 28 Jun 2019 16:59:22 +0000 (09:59 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Fri, 28 Jun 2019 17:10:17 +0000 (10:10 -0700)
commit266841751f072828c5982c972d9a482cda201659
treece7d17a49be5c9f49d2b2dd545e315f1a92414e6
parent030e45e33da0b509f7e9ba1c630be39aa2ab4634
Add buffer size information to Linalg::BufferType. If the size is
constant then it is represented as <size x elementType>. If the size
is not a compile time constant, then it is represented as
<? x elementType>.

PiperOrigin-RevId: 255619400
mlir/include/mlir/Linalg/IR/LinalgTypes.h
mlir/lib/Linalg/IR/LinalgTypes.cpp
mlir/test/Linalg/llvm.mlir
mlir/test/Linalg/loops.mlir
mlir/test/Linalg/roundtrip.mlir
mlir/test/mlir-cpu-runner/linalg_integration_test.mlir