[all-commits] [llvm/llvm-project] 33c134: [mlir][linalg] Refine test for tensor.pad vectoriz...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Tue Oct 1 23:34:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33c134ef1b4fe1db44a7092ea4e385ba205bf06a
      https://github.com/llvm/llvm-project/commit/33c134ef1b4fe1db44a7092ea4e385ba205bf06a
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M mlir/test/Dialect/Linalg/vectorization-with-patterns.mlir

  Log Message:
  -----------
  [mlir][linalg] Refine test for tensor.pad vectorization (#110742)

This particular test was missing the `vectorize_padding` attribute and
hence didn't really trigger anything meaningful. I've added the
attribute and additional check-lines to verify that:
  * The vectorizer was indeed run (and generated vector Ops).
  * The final `tensor.insert_slice` Op is preserved.

Note that another `tensor.insert_slice` Op, inserted by the vectoriser,
was rewritten as a `vector.transfer_read`/`vector.transfer_write` pair
and hence is not present in the test output.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list