[all-commits] [llvm/llvm-project] 303fdd: [mlir] [VectorOps] Rewriting of vector.extract/ins...

Aart Bik via All-commits all-commits at lists.llvm.org
Fri Jan 24 16:26:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 303fddeeab1028dbdf5286529727d889e2df4460
      https://github.com/llvm/llvm-project/commit/303fddeeab1028dbdf5286529727d889e2df4460
  Author: aartbik <ajcbik at google.com>
  Date:   2020-01-24 (Fri, 24 Jan 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/VectorOps/VectorOps.h
    M mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
    A mlir/test/Dialect/VectorOps/vector-slices-transforms.mlir
    M mlir/test/lib/Transforms/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir] [VectorOps] Rewriting of vector.extract/insert_slices to other vector ops

Summary:
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.

Reviewers: nicolasvasilache, andydavis1, ftynse

Reviewed By: nicolasvasilache

Subscribers: 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/D73295




More information about the All-commits mailing list