[all-commits] [llvm/llvm-project] 4e9c3c: [mlir][tosa] Improve invalid operator data types e...
Luke Hutton via All-commits
all-commits at lists.llvm.org
Thu May 22 09:06:53 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e9c3ce39189fc68f83be03f85a6a504de537049
https://github.com/llvm/llvm-project/commit/4e9c3ce39189fc68f83be03f85a6a504de537049
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-05-22 (Thu, 22 May 2025)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h
M mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp
M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
M mlir/test/Dialect/Tosa/invalid.mlir
Log Message:
-----------
[mlir][tosa] Improve invalid operator data types error message (#140756)
The error message on invalid operator data types in the validation pass
was not very clear. This commit improves the error message as follows:
Current:
```
'tosa.add' op illegal: operand/result data types not supported
```
Improved:
```
'tosa.add' op illegal: operation operand/result data types did not align with any profile or extension, got (i1,i1,i1), did you mean (i32,i32,i32)? Otherwise, please refer to the 'supported data types' for 'tosa.add' in the specification.
```
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