[all-commits] [llvm/llvm-project] f9efce: [mlir][VectorOps] Support vector transfer_read/wri...
andydavis1 via All-commits
all-commits at lists.llvm.org
Wed Feb 5 16:22:05 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f9efce1dd5ceef7ed594f42d207b13bb6c9f1b6e
https://github.com/llvm/llvm-project/commit/f9efce1dd5ceef7ed594f42d207b13bb6c9f1b6e
Author: Andy Davis <andydavis at google.com>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
M mlir/test/Dialect/VectorOps/vector-transforms.mlir
Log Message:
-----------
[mlir][VectorOps] Support vector transfer_read/write unrolling for memrefs with vector element type.
Summary:
[mlir][VectorOps] Support vector transfer_read/write unrolling for memrefs with vector element type. When unrolling vector transfer read/write on memrefs with vector element type, the indices used to index the memref argument must be updated to reflect the unrolled operation. However, in the case of memrefs with vector element type, we need to be careful to only update the relevant memref indices.
For example, a vector transfer read with the following source/result types, memref<6x2x1xvector<2x4xf32>>, vector<2x1x2x4xf32>, should only update memref indices 1 and 2 during unrolling.
Reviewers: nicolasvasilache, aartbik
Reviewed By: nicolasvasilache, aartbik
Subscribers: lebedev.ri, Joonsoo, merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72965
More information about the All-commits
mailing list