[Mlir-commits] [mlir] [mlir][tosa] Improve level check error messages (PR #174980)

Mehdi Amini llvmlistbot at llvm.org
Tue Jan 27 08:05:33 PST 2026


joker-eph wrote:

https://lab.llvm.org/buildbot/#/builders/116/builds/23977

```
# `-----------------------------
# .---command stderr------------
# | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/Dialect/Tosa/level_check.mlir:1699:8: error: unexpected error: 'tosa.concat_shape' op failed level check: length(tensor_list_shape(input)) <= MAX_TENSOR_LIST_SIZE (64), got 65
# |   %1 = tosa.concat_shape %0, %0, %0, %0, %0, %0, %0, %0,
# |        ^
# | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/Dialect/Tosa/level_check.mlir:1698:6: error: expected error "'tosa.concat_shape' op failed level check for MAX_TENSOR_LIST_SIZE: input" was not produced
# |   // expected-error at +1 {{'tosa.concat_shape' op failed level check for MAX_TENSOR_LIST_SIZE: input}}
# |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# `-----------------------------
# error: command failed with exit status: 1
```

Seems like legit?

https://github.com/llvm/llvm-project/pull/174980


More information about the Mlir-commits mailing list