[all-commits] [llvm/llvm-project] 226896: [mlir][linalg] Fix bug in vector transfer hoisting

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Jul 12 07:29:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 226896c3a865fc79c1ee8fe5c7e5f8c8b1a4753f
      https://github.com/llvm/llvm-project/commit/226896c3a865fc79c1ee8fe5c7e5f8c8b1a4753f
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

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

  Log Message:
  -----------
  [mlir][linalg] Fix bug in vector transfer hoisting

Do not hoist vector transfers that do not match exactly. In particular, do not hoist transfers with different vector types. This has lead to invalid IR (yielded vector type is different from iter_arg type) in downstream projects.

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




More information about the All-commits mailing list