[PATCH] D72808: [mlir] [VectorOps] Lowering of vector.extract_slices to LLVM IR

Aart Bik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 13:56:48 PST 2020


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

Tiles (or "slices") a vector into smaller vectors, correctly
adjusting sizes at the boundaries.

Example:

3x3 tiling into 4x4 vector

+--------+--+
+0   1  2| 3|

| 4   5  6 | 7  |
| 8   9 10 | 11 |
|

+--------+--+

| 12 13 14 | 15 |
|

+--------+--+


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72808

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72808.238363.patch
Type: text/x-patch
Size: 10011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200115/052c30ff/attachment-0001.bin>


More information about the llvm-commits mailing list