[PATCH] D77331: [mlir][VectorOps] Implement canonicalization for TransposeOp.

Alex Grosul via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 12:28:46 PDT 2020


grosul1 created this revision.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: aartbik.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77331

Files:
  mlir/include/mlir/Dialect/Vector/VectorOps.td
  mlir/lib/Dialect/Vector/VectorOps.cpp
  mlir/test/Dialect/Vector/canonicalize.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77331.254596.patch
Type: text/x-patch
Size: 6120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200402/d7fb3068/attachment.bin>


More information about the llvm-commits mailing list