[all-commits] [llvm/llvm-project] 9c923f: [mlir][linalg] Fix vectorization of linalg depthwi...

Rob Suderman via All-commits all-commits at lists.llvm.org
Tue Nov 8 16:32:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c923f4e58357af870925781f0b33d1ee958b9d8
      https://github.com/llvm/llvm-project/commit/9c923f4e58357af870925781f0b33d1ee958b9d8
  Author: Rob Suderman <suderman at google.com>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

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

  Log Message:
  -----------
  [mlir][linalg] Fix vectorization of linalg depthwise conv for int types

Vectorization of Linalg's depthwise convolution only supports floating
point types. Previous version assumed floating point operations would
work. This version checks whether the computation is integer or floating
point and adjust the inner loop computation.

Reviewed By: hanchung

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




More information about the All-commits mailing list