[PATCH] D73295: [mlir] [VectorOps] Rewriting of vector.extract/insert_slices to other vector ops
Aart Bik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 14:20:24 PST 2020
aartbik created this revision.
Herald added subscribers: llvm-commits, liufengdb, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: nicolasvasilache.
Herald added a reviewer: nicolasvasilache.
Herald added a project: LLVM.
aartbik added reviewers: andydavis1, ftynse.
Rewrites the extract/insert_slices operation in terms of
strided_slice/insert_strided_slice ops with intermediate
tuple uses (that should get optimimized away with typical
usage). This is done in a separate "pass" to enable testing
this particular rewriting in isolation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73295
Files:
mlir/include/mlir/Dialect/VectorOps/VectorOps.h
mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
mlir/test/Dialect/VectorOps/vector-slices-transforms.mlir
mlir/test/lib/Transforms/TestVectorTransforms.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73295.240008.patch
Type: text/x-patch
Size: 11930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200123/27ba4a74/attachment.bin>
More information about the llvm-commits
mailing list