diff options
author | Luke Hutton <luke.hutton@arm.com> | 2025-05-22 17:06:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-22 17:06:32 +0100 |
commit | 4e9c3ce39189fc68f83be03f85a6a504de537049 (patch) | |
tree | 31cfc0900d327977922996fea15c5e7aae11993a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 758fea0e995e6128022e5cd2605a92222e130837 (diff) | |
download | llvm-4e9c3ce39189fc68f83be03f85a6a504de537049.zip llvm-4e9c3ce39189fc68f83be03f85a6a504de537049.tar.gz llvm-4e9c3ce39189fc68f83be03f85a6a504de537049.tar.bz2 |
[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.
```
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions