[PATCH] D74370: [mlir] [VectorOps] Implement vector.reduce operation

Aart Bik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 17:06:43 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.
aartbik added reviewers: andydavis1, ftynse.

This new operation operates on 1-D vectors and
forms the bridge between vector.contract and
llvm intrinsics for vector reductions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74370

Files:
  mlir/include/mlir/Dialect/VectorOps/VectorOps.td
  mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
  mlir/lib/Dialect/VectorOps/VectorOps.cpp
  mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
  mlir/test/Dialect/VectorOps/invalid.mlir
  mlir/test/Dialect/VectorOps/ops.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74370.243702.patch
Type: text/x-patch
Size: 13518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200211/bf30f963/attachment.bin>


More information about the llvm-commits mailing list