[all-commits] [llvm/llvm-project] 7b09f1: [mlir][Linalg] Refactor conv vectorization to deco...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Wed Nov 3 01:09:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b09f157e1748597858bbeb392c6c95debb7ba0f
      https://github.com/llvm/llvm-project/commit/7b09f157e1748597858bbeb392c6c95debb7ba0f
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorize-convolution.mlir

  Log Message:
  -----------
  [mlir][Linalg] Refactor conv vectorization to decouple memory from vector ops.

This refactoring prepares conv1d vectorization for a future integration into
the generic codegen path.
Once transfer_read / transfer_write vectorization also supports sliding windows,
the special pattern for conv can disappear.
This will also likely need a vector.conv operation.

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




More information about the All-commits mailing list