Resolving buffer operand of linalg.view doesnt have the information
authorMahesh Ravishankar <ravishankarm@google.com>
Tue, 2 Jul 2019 17:13:34 +0000 (10:13 -0700)
committerjpienaar <jpienaar@google.com>
Tue, 2 Jul 2019 17:28:59 +0000 (10:28 -0700)
commit25094e90bdc03440368b80e525aed14e9007cc38
tree7388c4fddb139d982eba19cd003d94971f0953d7
parent5c4ae813ee454ab221a9ba95050d1f17ad2aa859
Resolving buffer operand of linalg.view doesnt have the information
about the buffer size. This is needed to resolve the operand
correctly. Add that information to view op
serialization/deserialization

Also modify the parsing of buffer type by splitting at 'x' to
side-step issues with StringRef number parsing.

PiperOrigin-RevId: 256188319
mlir/include/mlir/IR/OpImplementation.h
mlir/lib/Linalg/IR/LinalgOps.cpp
mlir/lib/Linalg/IR/LinalgTypes.cpp
mlir/lib/Parser/Parser.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