HomePhabricator

[mlir] Add canonicaliations for subtensor_insert operation.

Authored by mravishankar on Mar 1 2021, 12:21 PM.

Description

[mlir] Add canonicaliations for subtensor_insert operation.

Add canonicalizers to subtensor_insert operations need canonicalizers
that propagate the constant arguments within offsets, sizes and
strides. Also add pattern to propogate tensor_cast operations.

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