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

Luke Hutton llvmlistbot at llvm.org
Tue Jan 27 05:54:31 PST 2026


================
@@ -521,7 +521,7 @@ func.func @test_identity_rank_valid(%arg0: tensor<i32>) -> tensor<i32> {
 // -----
 
 func.func @test_avgpool2d_kernel_y(%arg0: tensor<1x8194x32x8xf32>, %arg1: tensor<1xf32>, %arg2: tensor<1xf32>) -> tensor<1x2x32x8xf32> {
-  // expected-error at +1 {{'tosa.avg_pool2d' op failed level check: kernel <= MAX_KERNEL}}
+  // expected-error at +1 {{'tosa.avg_pool2d' op failed level check: kernel <= MAX_KERNEL (8192), got 8193}}
----------------
lhutton1 wrote:

Not as far as I'm aware, this was completed manually :(

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


More information about the Mlir-commits mailing list