[all-commits] [llvm/llvm-project] e046f2: [mlir][tosa] Enhance error_if and verify checks fo...

Peng Sun via All-commits all-commits at lists.llvm.org
Fri Apr 25 01:51:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e046f2050578b8cda394143fafbfb476767b836a
      https://github.com/llvm/llvm-project/commit/e046f2050578b8cda394143fafbfb476767b836a
  Author: Peng Sun <peng.sun at arm.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
    M mlir/test/Dialect/Tosa/error_if_check.mlir
    M mlir/test/Dialect/Tosa/invalid.mlir
    M mlir/test/Dialect/Tosa/verifier.mlir

  Log Message:
  -----------
  [mlir][tosa] Enhance error_if and verify checks for RESCALE Op (#137021)

* add verifier for rank-0 input with per-channel
* add checkErrorIfRescale to tosa validation pass that align with
TOSAv1.0
  * add LIT tests

Signed-off-by: Peng Sun <peng.sun at arm.com>



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