[all-commits] [llvm/llvm-project] ddfc7c: [mlir][tosa] Check negative output size in resize ...

Luke Hutton via All-commits all-commits at lists.llvm.org
Mon Jun 23 00:17:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddfc7cb61f022d78db6a2b9ac072fce233c19343
      https://github.com/llvm/llvm-project/commit/ddfc7cb61f022d78db6a2b9ac072fce233c19343
  Author: Luke Hutton <luke.hutton at arm.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir

  Log Message:
  -----------
  [mlir][tosa] Check negative output size in resize shape inference (#143382)

This commit adds a check to ensure that the calculated output height and
width, during shape inference, should be non-negative. An error is
output if this is the case.

Fixes: #142402



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