[all-commits] [llvm/llvm-project] a3dd4e: Drop transfer_read inner most unit dimensions

Ahmed S. Taei via All-commits all-commits at lists.llvm.org
Wed Oct 20 12:27:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3dd4e777095f9668215a3babab1041025819f64
      https://github.com/llvm/llvm-project/commit/a3dd4e777095f9668215a3babab1041025819f64
  Author: Ahmed S. Taei <ataei at google.com>
  Date:   2021-10-20 (Wed, 20 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorTransforms.h
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    A mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp

  Log Message:
  -----------
  Drop transfer_read inner most unit dimensions

Add a pattern to take a rank-reducing subview and drop inner most
contiguous unit dim.
This is useful when lowering vector to backends with 1d vector types.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D111561




More information about the All-commits mailing list