HomePhabricator

[mlir][vector] Move transferOp on tensor opt to folder/canonicalization

Authored by ThomasRaoux on Apr 15 2021, 1:43 PM.

Description

[mlir][vector] Move transferOp on tensor opt to folder/canonicalization

Move the existing optimization for transfer op on tensor to folder and
canonicalization. This handles the write after write case and read after write
and also add write after read case.

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