[all-commits] [llvm/llvm-project] b6d67a: [mlir][tosa] Add verifier for tosa.tile, fix shape...

Felix Schneider via All-commits all-commits at lists.llvm.org
Thu Nov 2 11:39:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6d67af2098fa92a557b72b7508fdd4f5e3488eb
      https://github.com/llvm/llvm-project/commit/b6d67af2098fa92a557b72b7508fdd4f5e3488eb
  Author: Felix Schneider <fx.schn at gmail.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir
    M mlir/test/Dialect/Tosa/invalid.mlir

  Log Message:
  -----------
  [mlir][tosa] Add verifier for tosa.tile, fix shape inference crash (#70972)

This patch adds an verifier to `tosa.tile` which checks input/output
ranks and the length of the `multiples` array. The patch also fixes a
crash in the shape inference when an invalid `multiples` array is
supplied.

Fix https://github.com/llvm/llvm-project/issues/70415




More information about the All-commits mailing list