[all-commits] [llvm/llvm-project] 658b3a: [mlir][tosa] Add more informative error messages t...

Luke Hutton via All-commits all-commits at lists.llvm.org
Fri Aug 7 02:27:52 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 658b3a9aa098fa8a03561ed9a5c56db1962b9b23
      https://github.com/llvm/llvm-project/commit/658b3a9aa098fa8a03561ed9a5c56db1962b9b23
  Author: Luke Hutton <luke.hutton at arm.com>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
    M mlir/include/mlir/Dialect/Tosa/IR/TosaTypesBase.td
    M mlir/include/mlir/IR/CommonTypeConstraints.td
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/verifier.mlir

  Log Message:
  -----------
  [mlir][tosa] Add more informative error messages to block scaled types (#211569)

This commit improves block scaled tensor type verification to provide a
specific reason about why type verification failed. Previously the error
message was a very generic "must be tosa-conformant tensor of number
values".

This commit restores previous functionality that was reverted by
https://github.com/llvm/llvm-project/pull/207995, but uses the ODS
string interpolation mechanism instead to prevent incompatibility with
PDLL.



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