[all-commits] [llvm/llvm-project] 14726c: [mlir][Vector] Extend xfer_read(extract)->scalar l...

Diego Caballero via All-commits all-commits at lists.llvm.org
Fri May 19 14:06:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14726cd691517f8d03491a3bf6ad0b338fabba1b
      https://github.com/llvm/llvm-project/commit/14726cd691517f8d03491a3bf6ad0b338fabba1b
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
    M mlir/test/Dialect/Vector/scalar-vector-transfer-to-memref.mlir
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][Vector] Extend xfer_read(extract)->scalar load to support multiple uses

This patch extends the vector.extract(vector.transfer_read) -> scalar
load patterns to support vector.transfer_read with multiple uses. For
now, we check that all the uses are vector.extract operations.
Supporting multiple uses is predicated under a flag.

Reviewed By: hanchung

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




More information about the All-commits mailing list