[PATCH] D74880: [mlir] [VectorOps] Multi-dim reductions for lowering vector.contract

Aart Bik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 16:23:32 PST 2020


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

This implements the last step for lowering vector.contract progressively
to LLVM IR (except for masks). Multi-dimensional reductions that remain
after expanding all parallel dimensions are lowered into into simpler
vector.contract operations until a trivial 1-dim reduction remains.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74880

Files:
  mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
  mlir/test/Dialect/VectorOps/vector-contract-transforms.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74880.245553.patch
Type: text/x-patch
Size: 11038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200220/ec82fb0b/attachment.bin>


More information about the llvm-commits mailing list