[all-commits] [llvm/llvm-project] 3f8f29: [mlir][linalg] Set explicit insertion point in pad...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Jul 19 01:45:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f8f29233067faef6b2c22a6b654abf7e638f2be
      https://github.com/llvm/llvm-project/commit/3f8f29233067faef6b2c22a6b654abf7e638f2be
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorization.mlir

  Log Message:
  -----------
  [mlir][linalg] Set explicit insertion point in pad_tensor patterns.

Insert ops replacing pad_tensor in front of the associated tansfer_write / insert_slice op. Otherwise we may end up with invalid ir if one of the remaining tansfer_write / insert_slice operands is defined after the pad_tensor op.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list