[all-commits] [llvm/llvm-project] d18523: [mlir][linalg] Check for tensor of 0 dims during v...

Thomas via All-commits all-commits at lists.llvm.org
Mon Feb 6 22:34:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d18523c0430cee513a07b5b2a89ad1adb43c91f1
      https://github.com/llvm/llvm-project/commit/d18523c0430cee513a07b5b2a89ad1adb43c91f1
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

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

  Log Message:
  -----------
  [mlir][linalg] Check for tensor of 0 dims during vectorization

tensor with dims of size 0 cannot be vectorized. Add precondition to
prevent a crash in vectorization.

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




More information about the All-commits mailing list