[all-commits] [llvm/llvm-project] c8568f: [mlir][tosa] Add missing check for mutiples of `to...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Fri Aug 30 03:28:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8568f09577e9332d15edf98beb5376dc8d0672e
      https://github.com/llvm/llvm-project/commit/c8568f09577e9332d15edf98beb5376dc8d0672e
  Author: Longsheng Mou <moulongsheng at huawei.com>
  Date:   2024-08-30 (Fri, 30 Aug 2024)

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

  Log Message:
  -----------
  [mlir][tosa] Add missing check for mutiples of `tosa.tile` (#106337)

This patch adds check for mutiples of `tosa.tile`. The `multiples` in
`tosa.tile` indicates how many times the tensor should be replicated
along each dimension. Zero and negative values are invalid, except for
-1, which represents a dynamic value. Therefore, each element of
`mutiples` should be positive integer or -1. Fix #106167.



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