[all-commits] [llvm/llvm-project] cb1a42: [mlir][vector] Move splitting transfer ops into a ...

Lei Zhang via All-commits all-commits at lists.llvm.org
Tue Feb 16 07:05:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb1a42359bff2ba49d072df88ad3ffb4c66c16d8
      https://github.com/llvm/llvm-project/commit/cb1a42359bff2ba49d072df88ad3ffb4c66c16d8
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorOps.h
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    M mlir/test/lib/Transforms/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Move splitting transfer ops into a separate entry point

These patterns unrolls transfer read/write ops if the vector consumers/
producers are extract/insert slices op. Transfer ops can map to hardware
load/store functionalities, where the vector size matters for bandwidth
considerations. So these patterns should be collected separately, instead
of being generic canonicalization patterns.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list