[mlir] Add file to implement bufferization for shape ops.
authorTres Popp <tpopp@google.com>
Tue, 22 Sep 2020 10:23:43 +0000 (12:23 +0200)
committerTres Popp <tpopp@google.com>
Tue, 6 Oct 2020 09:35:16 +0000 (11:35 +0200)
commitfe2bd543f5e82bc14ef37dc5ec2228812098cf7a
treee4d09b0524ef3d3083ec13d597006278bc7b38ee
parent80f66ac0d544d2d9d3108033148d60bb4760b319
[mlir] Add file to implement bufferization for shape ops.

This adds a shape-bufferize pass and implements the pattern for
shape.assuming.

Differential Revision: https://reviews.llvm.org/D88083
mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
mlir/lib/Dialect/Shape/Transforms/ShapeTypeConversion.cpp [new file with mode: 0644]
mlir/test/Dialect/Shape/shape-type-conversion.mlir [new file with mode: 0644]