[all-commits] [llvm/llvm-project] 3971e8: Add additional criteria for hoisting vector.transf...

harsh-nod via All-commits all-commits at lists.llvm.org
Fri May 12 11:57:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3971e80fc53928558604033330b18fa297191005
      https://github.com/llvm/llvm-project/commit/3971e80fc53928558604033330b18fa297191005
  Author: Harsh Menon <harsh at nod-labs.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
    M mlir/test/Dialect/Linalg/hoisting.mlir

  Log Message:
  -----------
  Add additional criteria for hoisting vector.transfer_reads

Non-subview uses of an alloc outside the current loop
can be safely ignored when considering hoisting vector
transfer_reads. This patch adds a condition to check for that
case and updates the unit test accordingly.

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




More information about the All-commits mailing list