HomePhabricator

[MLIR] Shape to standard dialect lowering

Authored by frgossen on Jun 3 2020, 9:14 AM.

Description

[MLIR] Shape to standard dialect lowering

Add a new pass to lower operations from the shape to the std dialect.
The conversion applies only to the size_to_index and index_to_size
operations and affected types.
Other patterns will be added as needed.

Differential Revision: https://reviews.llvm.org/D81091

Details