[all-commits] [llvm/llvm-project] 019fbc: [mlir][tosa] Add missing check for new_shape of `t...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Thu Aug 15 20:20:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 019fbcc4d728895f0decab13738b5d89d01b1436
      https://github.com/llvm/llvm-project/commit/019fbcc4d728895f0decab13738b5d89d01b1436
  Author: Longsheng Mou <moulongsheng at huawei.com>
  Date:   2024-08-16 (Fri, 16 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 new_shape of `tosa.reshape` (#104394)

This patch adds check for new_shape of `tosa.reshape`. Tensor dimension
with size less than -1 is invalid. Fix #103062.



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