HomePhabricator

[mlir][VectorOps] Implement canonicalization for TransposeOp.

Authored by grosul1 on Apr 2 2020, 3:20 PM.

Description

[mlir][VectorOps] Implement canonicalization for TransposeOp.

Two back-to-back transpose operations are combined into a single transpose, which uses a combination of their permutation vectors.

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